LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pppoe through linux router/firewall (http://www.linuxquestions.org/questions/linux-networking-3/pppoe-through-linux-router-firewall-56962/)

..Tookers.. 04-27-2003 02:44 AM

pppoe through linux router/firewall
 
Ok... heres my problem, I have a redhat 8.0 box setup and is running the RIP protocol aswell as IPTABLES.
Eth0 is connected onto a switched 3com hub, MDIX enabled.
It has an uplink port at port 24, if i connect the eth0 cable to port24 i dont get any lights on so i connect it to port 12 (random port) and get a green 100mbit light on

I have 2 ethernet interfaces,

eth0 --local network-- subnet 192.168.0.0

eth1 --connected to ADSL modem-- subnet 192.168.10.0

my routing is configured as follows:

net 192.168.0.0 gw 192.168.10.10 metric 1
net 192.168.10.0 gw 192.168.0.1 metric 1

to test it out i connected another linux box to the adsl modem with the IP 192.168.10.7

I ping from a windows machine on my local network through 192.168.0.1 to 192.168.10.7.

my predicament begins... all of my windows machines use their own PPPoE clients to connect to the internet (as there are 4 main user accounts)

I try to connect from my machine and it says there is no answer.

IS there some other routing policies or gateways i need to add?

..Tookers.. 04-30-2003 03:39 AM

fixed using

pppoe-relay -C eth0 -S eth1

michaelk 04-30-2003 08:34 AM

BTW uplink ports are for crossover cables thats why you didn't get an active link light.


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