LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   difficulties to parameter local net (https://www.linuxquestions.org/questions/linux-networking-3/difficulties-to-parameter-local-net-143061/)

christophe.dr 02-06-2004 02:41 PM

difficulties to parameter local net
 
i configured my new computer (mdk9.2) to be a gateway for the old one.
New computer is connected to the internet with adsl on usb (CDCEther driver). This conexion works very well : eth0.
Then there is a 3com (3c940 gigabit LOM) ethernet card on the motherboard (Asus p4c800) of this new computer. I used drakegw to configure my new computer as a gateway via this onboard ethernet card (sk98lin driver) : eth1.
What is strange is that it gives 192.168.1.1 as the default address for this computer instead of the usual 192.168.0.1. Anyway...
dhcpd is launched on this new computer.
Then i put an ethernet cross over cable between my new and my old computer.
Old computer (mdk9.2 also) has a PCI CNet fast 200 fast ethernet adapter 10/100 (r8169 driver). And as i configure the net with drakconnect on the old computer, it will never work. i tried to tell him it had to have its address via dhcp. I tried to impose static address.
And there is still these "dhcp host", "host name", "zeroconf host name" fields to fill. And i still don't know which host it is about. The client or the gateway ???
I turned off every firewall. I tried many different tweaks such as :
ifconfig eth0 192.168.1.2 netmask 255.255.255.0
route -ve add default gw 192.168.1.1
But it never worked.

iainr 02-07-2004 03:26 PM

Hi Christophe,

Can the old computer ping the new computer? If it can, but it can't get onto the internet then either routing is wrong, or the new computer isn't acting as a gateway. If it can't then you don't have the two internal interfaces set up right.

It might also be worth posting the output of ifconfig and netstat -r for each computer.


All times are GMT -5. The time now is 05:33 PM.