Re: Route Table, more info
Here is the current route table, (output of netstat -nr)
131.107.2.0 0.0.0.0 255.255.255.0 U 1500 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
The reason that it doesn't show the 207.158.140.138 address is because it
says that it can't reach the network when it runs the /etc/init.d/network
script. The current contents of /etc/init.d/network:
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=131.107.2.216
NETMASK=255.255.255.0
NETWORK=131.107.2.0
BROADCAST=131.107.2.255
GATEWAY=207.158.140.139
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route -n add -net ${NETWORK}
ADDRESS=207.158.140.138
SUBNET=255.255.255.248
NET=207.158.140.0
BROADCAS=207.158.140.255
GATE=207.158.140.139
ifconfig eth1 ${ADDRESS} netmask ${SUBNET} broadcast ${BROADCAS}
route -n add -net ${NET}
[ "${GATE}" ] && route add default gw ${GATE} metric 1
Below is a diagram of our setup:
Internet
|
ISDN Router Connection to ISP (207.158.140.137)
|
ISDN Router Internal IP (207.158.140.139)
|
Debian box eth1 (207.158.140.138)
|
Debian box eth0 (131.107.2.216)
Now to recap a bit, the idea is that we need to use the debian box as the
gateway instead of the 3com ISDN router/modem. Also, on the ISDN modem, NAT
is disabled as well as DHCP. Again, if more information is needed please let
me know..
-Jason
Reply to: