Routing Table Problems

Fisher, Clinton NCFisher@Z-TEL.com
Mon, 25 Sep 2000 16:07:55 -0400


The answer is in the way subnet masks and the way your ip address falls
within those various subnets that you have defined.

For netmask of 255.255.255.240 the 4 MSBs of the last octet are network
addresses.   This means that there are multiple networks defined in that
space.  Your ip address of your host is 147 which falls in the 144 network.
It is easier to see with binary.

255.255.255.240 = FF.FF.FF.F0  F0 = 11110000
x.x.x.147 = x.x.x.10010011

This shows that this host is in the x.x.x.10010000 network (x.x.x.144)

Did I get all that right?

Clinton


-----Original Message-----
From: David Demland [mailto:ddemland@cadtel.com]
Sent: Monday, September 25, 2000 2:26 PM
To: PLUG Discussion
Subject: Routing Table Problems


I am still having a problem with the routing table on this Storm box. The
following is the /etc/network/interfaces file:

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

# The loopback interface
iface lo inet loopback

iface eth0 inet static
	address 192.168.1.204
	netmask 255.255.255.0
	gateway 63.88.193.129

iface eth1 inet static
	address 63.88.193.147
	netmask 255.255.255.240
	gateway 63.88.193.129
	broadcast 63.88.193.255

The ifconfig command output is:

eth0      Link encap:Ethernet  HWaddr 00:D0:B7:BF:AA:60
          inet addr:192.168.1.204  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5555 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10

eth1      Link encap:Ethernet  HWaddr 00:D0:B7:BF:A6:C4
          inet addr:63.88.193.147  Bcast:63.255.255.255
Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

The route -n command output is:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
63.88.193.144   0.0.0.0         255.255.255.240 U     0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

My question, in the interfaces file the IP for eth1 is 63.88.193.147. The
ifconfig command seems to reinforce this with the IP address of the same.
But the route command has an IP of 63.88.193.144. Where in the world does
this come from?

Can anyone help?

Thank You,

David Demland
Qa/Testing Manager
CADTEL Systems, Inc.
11201 N. Tatum Ste. 200
Phoenix, AZ 85028
(602) 953-4888
Fax: (602) 953-4833
ddemland@cadtel.com


________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss