![](https://seccdn.libravatar.org/avatar/dd7ac2b0f217cac240a2d3907a2f18c1.jpg?s=120&d=mm&r=g)
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.
![](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
![](https://seccdn.libravatar.org/avatar/d3f68d7cc33f6c9b1a9565cdc98bdaec.jpg?s=120&d=mm&r=g)
Or spend $40.00 for a hardware router from linksys or netgear and be done with it. Much easier to setup and fewer problems. But doing it this other way would be a learning experience. On Wed, 2004-01-14 at 12:49, Vince Littler wrote:
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.
--
Scot L. Harris
![](https://seccdn.libravatar.org/avatar/e02a8511e5172515550f845660120bbd.jpg?s=120&d=mm&r=g)
On Thursday 15 January 2004 2:36 am, Scot L. Harris wrote:
Or spend $40.00 for a hardware router from linksys or netgear and be done with it. Much easier to setup and fewer problems.
But doing it this other way would be a learning experience.
On Wed, 2004-01-14 at 12:49, Vince Littler wrote:
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.
-- Scot L. Harris
Well, Ben has chosen the way to go if you have the HW and know how to do it. SuSE does give you a router out of the box and Ben has the HW. Having had the learning experience myself, learning is less hassle than buying a suitable router, even if you ignore the $40. Ben has only 3 cable ends to get right, with the hardware router he would have to get 5 ends right. If you are there Ben, have you got it running and can you back me up on this? Vince
participants (3)
-
ben@killingcupid.org
-
Scot L. Harris
-
Vince Littler