[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Internet isn't accessible after update



David Ganger wrote:
This is the ip configuration for the computer that gets the internet and then passes it on to the router.
Yes there is intenet connection sharing enabled.

Here is the configuration of the SHARED network connection
Address Type      Assigned by the DHCP
IP address           24.11.226.117
Subnet Mask       255.255.254.0
Default Gateway  24.11.226.1
Here is the configuration of the second network connection
Address Type      Manually configured
IP address           192.168.0.1
Subnet Mask       255.255.255.0
Default Gateway

Router ip address  192.168.0.11

----------------------------------------------------------------------------------------------------------------

On the linux computer
ifconfig -a

eth0        Link  encap:Ethernet  HWaddr  00:04:5A:8D:9F:65
inet addr:192.168.0.23 Bcast:192.168.0.255 Mask:255.255.255.0
             inet6  addr:  fe80::204:5aff:fe8d:9f65/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST MTV:1500 Metric:1
             RX  packets:483  errors:0  dropped:0  overruns:0  frame:0
             TX  packets:70  errors:0  dropped:0  overruns:0  carrier:0
             collisions:0  txqueuelen:1000
             RX  bytes:141396  (138.0 KiB)  TX  bytes:6374  (6.2  KiB)
             Interrupts:11  Base  address:Ox4800

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:8  errors:0  dropped:0  overruns:0  frame:0
             TX  packets:8  errors:0  dropped:0  overruns:0  carrier:0
             collisions:0  txqueuelen:0
             RX bytes: 560  (560.0  b)  TX  bytes:560  (560.0  b)

sit0         Link encap:IPv6-in-IPv4
             NOARP  MTU:1480  Metric:1
             RX  packets:0  errors:0  dropped:0  overruns:0  frame:0
             TX  packets:0  errors:0  dropped:0  overruns:0  carrier:0
             collisions:0  txqueuelen:0
             RX bytes:0  (0.0  b)  TX bytes:0  (0.0  b)


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

You don't have a DEFAULT route in your routing table. Your Linux computer can ping local machines (on the 192.168.0 network), including your router, but doesn't know what to do with packets destined for beyond your local network. You need a route like:

default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

the command:

	route add default gw 192.168.0.1 dev eth0

should do it for you, but it belongs in /etc/sysconfig/network as:

GATEWAY=192.168.0.1
GATEWAYDEV=eth0

--
Kevin J. Cummings
kjchome rcn com
cummings kjchome homeip net
cummings kjc386 framingham ma us


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]