hi all,
here is the situation
a debian box with 2 nics,
--------------------------------------
eth0 to internal network
ip: 10.0.10.1
subnet: 255.0.0.0
dns: 10.0.10.2(my windows server)
eth1 to wan
ip: 10.0.0.1
subnet: 255.0.0.0
gateway: 10.0.0.138(adsl model router)
dns 10.0.0.138
---------------------------------------
so when i issue these commands
ifdown eth0
ifdown eth1
ifup eth0
ifup eth1
then i will be able to ping my internal network computer, but not internet
when issue this command
ifdown eth0
ifdown eth1
ifup eth1
ifup eth0
now i can ping
www.google.com. but not my internal network. (error message "destination host unreachable").
so i'm just wondering what kind of problem is this??? and how do i fix it so that i can ping both my internal network and google.com????
i'm so confuse, trying to think, maybe my 2 nics doesn't route to each other or something, i'm lost.
pls help.