[vox-tech] Re: troubleshooting internet connection

Robin Snyder vox-tech@lists.lugod.org
Fri, 24 Jan 2003 13:58:07 -0800 (PST)


Robin Snyder:

> > I came back from the Installfest very happy to finally have X running
> > (thanks, Mike!) but now have no internet connection.  I'm sure it's
> > something stupid, but I can't figure out what.
> [...]
> > My setup: I'm on a fixed IP address, using a DSL line.  I have two
> > ethernet cards.

Mike Simons:

>   From what I remember seeing done to your computer nothing _should_
> have changed it's network behavior... except possibly when a dhcp
> client was installed.

>   Besides the X server, possibly dhcp client, apt-get dist-upgrade...
> are there any other things you remember being done to your machine?

We switched to an ext3 filesystem, but I can't see why that would
change anything.  I'm now regularly using kernel 2.4.18, and that may
be it.  (I had LinuxOLD (= 2.2.x) as my default previously.)  Is it
possible that the firewall/something with ipchain could be messing
things up?

> this is a list of the commands I would like to see run on that machine:
> ====
> uname -a

Linux hugin 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686 unknown

> 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 eth1
168.150.243.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         168.150.243.1   0.0.0.0         UG    0      0        0 eth0

> ipchains -L -n

ipchains: Incompatible with this kernel

> ifconfig

eth0      Link encap:Ethernet  HWaddr 00:10:4B:96:E8:A8
          inet addr:168.150.243.52  Bcast:168.150.243.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2089 errors:0 dropped:0 overruns:0 carrier:2089
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:204356 (199.5 KiB)
          Interrupt:9 Base address:0xdc00

eth1      Link encap:Ethernet  HWaddr 00:80:AD:D0:AD:7D
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:560 errors:0 dropped:0 overruns:0 frame:0
          TX packets:560 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:53200 (51.9 KiB)  TX bytes:53200 (51.9 KiB)


> cat /etc/network/interfaces

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

# My connection to the outside world
# automatically added when upgrading
auto eth0
iface eth0 inet static
	address 168.150.243.52
	netmask 255.255.255.0
	broadcast 168.150.243.255
 	gateway 168.150.243.1

# The internal network
# automatically added when upgrading
auto eth1
iface eth1 inet static
	address 192.168.0.1
	netmask 255.255.255.0

> one of:
>   mtr -n -c 3 -r  169.237.104.199

HOST                                    LOSS  RCVD SENT    BEST     AVG   WORST
168.150.243.1                             0%     3    3   12.34   13.19   14.16
168.150.253.254                           0%     3    3   12.21   12.43   12.85
192.168.2.1                               0%     3    3   20.18   25.32   32.06
128.120.0.62                              0%     3    3   21.75   24.63   26.65
169.237.1.242                             0%     3    3   17.07   25.96   40.27
169.237.104.247                           0%     3    3   19.14   34.41   54.06
169.237.104.199                           0%     3    3   18.10   64.06  115.18

>   traceroute -n 169.237.104.199

			- robin.