RE: Re[2]: Multiple Network Cards in Debian
Try adding a nameserver on /etc/resolv.conf
--
nameserver 192.168.0.1
--
For your gw, try this
route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1
Do man route for more info
--
Thanks,
Louie
-----Original Message-----
From: Derek Chew En-Hock [mailto:sdchew@ieee.org]
Sent: Thursday, May 22, 2003 3:34 PM
To: Miranda, Joel Louie M
Cc: debian users
Subject: Re[2]: Multiple Network Cards in Debian
Hello Joel,
thanks for looking into this for me...
I have tried it manually and it allows me to ping other machines on the
other networks... bad news is now the DNS is broken and I suspect it should
be something to do with not providing a default gateway and DNS settings..
will look into the man pages of ifconfig to see what they have to say about
that...
Thursday, May 22, 2003, 2:24:45 PM, you wrote:
MJLM> Try doing it manually.
MJLM> --
MJLM> #!/bin/sh
MJLM> ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up ifconfig eth1
MJLM> 192.167.0.1 netmask 255.255.255.0 up ifconfig eth2 192.166.0.1
MJLM> netmask 255.255.255.0 up
MJLM> --
MJLM> Put this on /etc/rc.boot and chmod 755
MJLM> --
MJLM> Thanks,
MJLM> Louie
--
Best regards,
Derek mailto:sdchew@ieee.org
Reply to: