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

Networking woes (Detailed & Long)



Well, I finally got the p166 up and running, including the 9GB ext2
filesystem I had problems with earlier, thanks to this list.

Now there are still 2 issues that I need to resolve, but there is not as
much urgency this time. The second issue will be in another mailing.

To see the problem, jump to the end of this message. I apoligize for the
length of this, but I felt that all this detail is needed for a
resolution.

My system has 2 network cards, a 3c503/16 and a 3c595 (in 10Mb mode).
The 503 has a network address of 199.233.164.2
The 595 has a network address of 199.233.164.33
I have the netmask set to 255.255.255.224, which should give me 32 hosts
per subnet, including network and broadcast.

The system boots fine. Both cards drivers are modules. There is no append
statement in lilo.conf

Here is what is in /etc/init.d/network:
#!      /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=199.233.164.2
NETMASK=255.255.255.224
NETWORK=199.233.164.0
BROADCAST=199.233.164.31
GATEWAY=199.233.164.2
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK} netmask 255.255.255.224
route add default gw ${GATEWAY} metric 1
ifconfig eth1 199.233.164.33 netmask 255.255.255.224 broadcast 
         199.233.164.63
route add -net 199.233.164.32 netmask 255.255.255.224

All hosts are pingable from any other host, aix, sco, micom remote
terminal server, and win95.

Here is the output of ifconfig:
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:410 errors:0 dropped:0 overruns:0
          TX packets:410 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:20:AF:49:21:25
          inet addr:199.233.164.2  Bcast:199.233.164.31
               Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42 errors:0 dropped:0 overruns:0
          TX packets:164 errors:0 dropped:0 overruns:0
          Interrupt:5 Base address:0x300 Memory:dc000-de000

eth1      Link encap:10Mbps Ethernet  HWaddr 00:A0:24:56:D4:17
          inet addr:199.233.164.33  Bcast:199.233.164.63
               Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0
          TX packets:15 errors:0 dropped:0 overruns:0
          Interrupt:12 Base address:0x6100

Here is the output of route:
Kernel IP routing table
Destination     Gateway   Genmask         Flags Metric Ref Use
Iface
localnet        *         255.255.255.224 U     0      0     2 eth0
199.233.164.32  *         255.255.255.224 U     0      0     3 eth1
localhost       *         255.0.0.0       U     0      0     2 lo
default         *         0.0.0.0         U     1      0     9 eth0


When I am not connected to the internet using ppp (207.86.80.129)
route will hang right after the localnet line. If I am connected to the
net, or if named is not running, route does its job and gets out of the
way. I do replace my default route when ppp comes up.

Question 1
   I think that is indicates a dns problem, but why? 199.233.164.33 is a
local address.

Question 2
   Why does 199.233.164.32 show up in the route output. I have an
/etc/networks file that looks like:
localnet        199.233.164.0
loannet         199.233.164.32
localhost       127.0.0.0
I really expected to see loannet in the route output. This happens any
time, ie if I am connected by ppp or not, named running or not.

The linux box is serving as its own caching dns server.

I appreciate any thoughts you may have,

--
Walter L. Preuninger II                waldo on #unix at irc.wasteland.org
walterp@rapidramp.com                  <http://walterp.rapidramp.com>

                  L I N U X --- Where you will want to be!
--

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: