I have the following IP configuration:
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure
the
# eth0 interface. If you're only using loopback or SLIP, don't include
the
# rest of the lines in this file.
# -- (eth0)
#VARS
IPADDR="192.168.30.55"
NETMASK="255.255.255.0"
NETWORK="192.168.30.0"
BROADCAST="192.168.30.255"
GATEWAY="192.168.30.55"
#DEVICES
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
#ROUTES
/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
if [ ! "$GATEWAY" = "" ]; then
/sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
fi
#VARS (eth0:0)
IPADDR2="192.168.30.65"
NETMASK2="255.255.255.0"
NETWORK2="192.168.30.0"
BROADCAST2="192.168.30.255"
GATEWAY2="192.168.30.55"
#DEVICES
/sbin/ifconfig eth0:0 ${IPADDR2} broadcast ${BROADCAST2} netmask
${NETMASK2}
#ROUTES
/sbin/route add -net ${NETWORK2} netmask ${NETMASK2} eth0:0
if [ ! "$GATEWAY" = "" ]; then
/sbin/route add default gw ${GATEWAY2} netmask 0.0.0.0 metric 1
fi
#VARS (eth0:1)
IPADDR3="192.168.30.75"
NETMASK3="255.255.255.0"
NETWORK3="192.168.30.0"
BROADCAST3="192.168.30.255"
GATEWAY3="192.168.30.55"
#DEVICES
/sbin/ifconfig eth0:1 ${IPADDR3} broadcast ${BROADCAST3} netmask
${NETMASK3}
#ROUTES
/sbin/route add -net ${NETWORK3} netmask ${NETMASK3} eth0:1
if [ ! "$GATEWAY" = "" ]; then
/sbin/route add default gw ${GATEWAY3} netmask 0.0.0.0 metric 1
fi
#VARS (eth0:2)
IPADDR4="192.168.30.85"
NETMASK4="255.255.255.0"
NETWORK4="192.168.30.0"
BROADCAST4="192.168.30.255"
GATEWAY4="192.168.30.55"
#DEVICES
/sbin/ifconfig eth0:2 ${IPADDR4} broadcast ${BROADCAST4} netmask
${NETMASK4}
#ROUTES
/sbin/route add -net ${NETWORK4} netmask ${NETMASK4} eth0:2
if [ ! "$GATEWAY" = "" ]; then
/sbin/route add default gw ${GATEWAY4} netmask 0.0.0.0 metric 1
fi
/etc/hosts
127.0.0.1 localhost
192.168.106.75 server1.anydom.com server1
192.168.106.85 server2.anydom.com server2
192.168.106.65 server3.anydom.com server3
192.168.106.55 server4.anydom.com server4
#NOTHER MACHINE
192.168.106.45 1server.anydom.com 1server
I do not have any restrictions in hosts.allow or hosts.deny yet.
PROBLEM: When I telnet into the machine using a Win95 client I have no
problems.
When I telnet into localhost I have no problems, I know why right?
The machine name via /etc/hostname is 192.168.106.55 server4.anydom.com.
When I telnet into any server?.anydom.com address other than
192.168.106.85 or server2.anydom.com
the telnet cannot complete. This is as far as it gets:
server4:~#
server4:~# telnet 192.168.106.55
Trying 192.168.106.55...
It will not complete with any addresses other than ....106.85
This has to be a problem with the networking (thinking maybe netmask?)
because other server / client
programs are having problems with this configuration also.
Another thing that I am seeing wrong is `maybe` the gateway
configuration. Seeing as how I technically don't have one of those, but
I wasn't sure what to put into there other than the first IP I used to
configure the machine.
Thanks in advance:
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]