Help with routing
Armand
plug-discuss@lists.PLUG.phoenix.az.us
Sun, 08 Apr 2001 22:57:46 -0600
Hi group,
I need help with my /etc/route.conf file.
I'm using the 2.4 kernel with SNAT and 3 NIC's - one for the gateway,
one for the intranet and one for DMZ.
eth0 has a static cable connection with an IP address of 24.116.64.118
but I'm letting it use dhcpcd to connect, it's just assigns
24.116.64.118 every time and I can use irc and ping out.
eth1 is 192.168.100.1 - internal
eht2 is 172.16.50.1 - DMZ
I just went with these values because they match with the example bind
config files that come with SuSE 7.1
This is what I have so far:
# Destination Dummy/Gateway Netmask Device
#
127.0.0.0 0.0.0.0 255.255.255.0 lo
24.116.64.0 0.0.0.0 255.255.254.0 eth0
# The above was generated by the default installation, it works, I added
the below
192.116.100.1 0.0.0.0 255.255.255.255 eth1
172.16.50.1 0.0.0.0 255.255.255.255 eth2
# Gateway
0.0.0.0 192.116.100.1
0.0.0.0 172.16.50.1
# Host behind a Gateway
24.116.64.118 24.116.64.1 255.255.255.255
# Net behind a Gateway
192.116.100.1 24.116.64.118
172.16.50.1 24.116.64.118
TIA,
Armand