Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #12275

Re: Destination Host Unreachable

From Andreas Kohlbach <oct14.5.ankman@spamgourmet.com>
Newsgroups comp.os.linux.misc
Subject Re: Destination Host Unreachable
Date 2014-10-10 17:00 -0400
Organization albasani.net
Message-ID <87wq87zllq.fsf@usenet.ankman.de> (permalink)
References <06GdnVinNqSX2KXJnZ2dnUU7-aWdnZ2d@giganews.com>

Show all headers | View raw


finnmcmissile wrote on 10. October 2014:
>
> I have two network cards.   One card is connected is LAN. Another one
> is connected to internet switch. Im using Fedora Core 5
>
>
> eth0      Link encap:Ethernet  HWaddr 00:1B:FC:01:C3:FF
>           inet addr:203.177.199.250  Bcast:203.177.199.255  Mask:255.255.255.248
>           inet6 addr: fe80::21b:fcff:fe01:c3ff/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1159 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:893 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:173158 (169.0 KiB)  TX bytes:104872 (102.4 KiB)
>           Interrupt:17
>
> eth1      Link encap:Ethernet  HWaddr 34:08:04:2A:7C:D9
>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::3608:4ff:fe2a:7cd9/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:22310 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:18529 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1727145 (1.6 MiB)  TX bytes:1775326 (1.6 MiB)
>           Interrupt:18 Base address:0x8c00
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:478 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:478 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:53152 (51.9 KiB)  TX bytes:53152 (51.9 KiB)
>
> i can ping yahoo.com or any other website... but when i tried to ping
> clients from my LAN it gives an error message "DESTINATION HOST
> UNREACHABLE" so basically my client PCs cannot access to the
> internet...
>
> what do i have to do to fix this... Thank you very much...

Something like

iptables -t nat -A POSTROUTING -s 192.168.1.1 -o eth0 -j MASQUERADE
-- 
Andreas

I wish my grass was emo. Then it would cut itself.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Destination Host Unreachable finnmcmissile <viana.ronelo@yahoo.com> - 2014-10-10 15:43 -0500
  Re: Destination Host Unreachable The Natural Philosopher <tnp@invalid.invalid> - 2014-10-10 21:54 +0100
  Re: Destination Host Unreachable Andreas Kohlbach <oct14.5.ankman@spamgourmet.com> - 2014-10-10 17:00 -0400
  Re: Destination Host Unreachable floyd@apaflo.com (Floyd L. Davidson) - 2014-10-10 14:18 -0800

csiph-web