View previous topic :: View next topic |
Author |
Message |
metv n00b


Joined: 14 Dec 2004 Posts: 20 Location: Padova - Italy
|
Posted: Mon Dec 20, 2004 11:13 pm Post subject: [Urgent please] simple routing question with liveCd |
|
|
Hi! I'm writing from links2 'cause i'm in the middle of stage 1.
Is it possible (and how can I do)to use the second eth adapter to share internet acces with my second pc (windows xp)? I think the biggest problem is that my isp assigned me only one ip and no more so i have to set up a simple router (no nat, no firewall, etc) with the restricted commad set of the live cd. thanks
t |
|
Back to top |
|
 |
Vanquirius Retired Dev


Joined: 14 Jun 2002 Posts: 1297 Location: Ethereal plains
|
Posted: Mon Dec 20, 2004 11:18 pm Post subject: |
|
|
Can't you use masquerade? I think the LiveCD has iptables support, it should be easy to just assign a static IP to your second ethernet adapter and run a simple iptables forwarding script.
Have a look at this page. _________________ Hello. |
|
Back to top |
|
 |
Petyr Guru


Joined: 08 Jan 2003 Posts: 471 Location: San Diego, CA, USA
|
Posted: Mon Dec 20, 2004 11:19 pm Post subject: |
|
|
it's not possible to just hook the other computer up to the internet? I ask because it's probably just going to be faster to unplug the cable modem for a minute, plug the other computer into it and then plug the cable modem back in (I'm assuming that it's a cable modem cauz this sounds like one of those deals ^_~)
Petyr |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55196 Location: 56N 3W
|
Posted: Mon Dec 20, 2004 11:21 pm Post subject: |
|
|
metv,
You cannot share a single public IP between two PCs without NAT.
will set up eth 1 while you are doing a stage 1. You must execute it outside the chroot.
You could use your windows box to do internet connection sharing. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|