![](https://seccdn.libravatar.org/avatar/e02a8511e5172515550f845660120bbd.jpg?s=120&d=mm&r=g)
On Wednesday 14 January 2004 4:47 pm, ben@killingcupid.org wrote:
I've got a desktop with two ethernet cards running SUSE9.0 Professional that I'm trying to get set up as a router so I can get my WinXP laptop online, presumably via IP forwarding and masquerading. My net connect is PPPoE - ppp0, over eth0. eth1 connects to the laptop. I've got the firewall set up to forward IP and rout, and I turned off 'protect from internal network.' The internal interface is eth1; the external interface is ppp0.
In terms of functionality, what I'd really like to do is replicate what Mandrake's DrakGw got me, which was that I could plug any computer into eth1 and it was online, no need to specify gateway IP or any such thing. My newbiness keeps me from knowing exactly what DrakGw does, but I presume it sets up a DHCP server.
Could someone give me a hand and tell me what I'm missing? The firewall's running, IP Forwarding under Router is turned on, but the laptop's not seeing a connection.
Many thanks in advance.
OK, we go no further here than establishing desktop eth1 to laptop. Once that is working we can think about routing. Make sure desktop eth1 and laptop get their DHCP from the same place. Make sure that they have different addresses on the same subnet. Use addresses 192.168.0.xxx, and subnet mask 255.255.255.0 or refer to rfc 1918 for other ranges. Use ifconfig as root to verify the ip addresses of the interfaces. Make sure that eth0 and eth1 are on different subnets and that DHCP will respect this [or use fixed addresses on eth0 and your router] Make sure you can ping from each machine to the other. If you can't, then set both up with static addresses and convince yourself that the config should ping both ways and try again. If this fails, fix it [duff drivers, duff NIC, duff cable]. So: * Hardware OK * Drivers OK * IP addresses, subnet mask OK * Ping OK * Try DHCP on eth1 * eth0, eth1 on different subnets only then routing regards Vince Littler