Hi Gabriel, on Saturday, 2005-05-14 at 23:07:25, you wrote: > I'm assuming you are using 255.255.255.0 as your subnet mask. If this is > the case, I don't know how to make it work -- but it's unnecessarily > difficult. Try to set up this: > > (INTERNET) > | > [ ?.?.?.? ] > [ DSL MODEM ] > [192.168.1.254] > | > [192.168.1.96 ] > [LOCAL SERVER ] > [192.168.2.1 ] > | > [192.168.2.97 ] > [ HOME BOX ]
Right, tat would make more sense. However, with a PPPoE link it's not even necessary to use two NICs, For quite a while I had my system set up with one central SOHO switch feeding my server, my laptop, my wife's computer and the DSL modem. The other NIC in the server was exclusively for WLAN. Due to the PPPoE you have a virtual P2P link between the server and the modem that cannot interfere with the rest of your network. A packet from the net that is meant for, say, my laptop goes into the modem, out to the switch, from there, still PPPoE encapsulated, into the server (via eth0) which strips it of the PPPoE headers and passes it to pppd. Then it will appear on the virtual ppp0 interface, get routed as a regular ethernet packet back to eth0, out to the switch and to the laptop. On a 100Mbps ethernet the internet traffic going twice over the same cable isn't even noticeable. cheers! Matthias -- I prefer encrypted and signed messages. KeyID: 90CF8389 Fingerprint: 8E 1F 10 81 A4 66 29 46 B9 8A B9 E2 09 9F 3B 91
pgp3gIiDpJet6.pgp
Description: PGP signature