Results 1 to 2 of 2
I want to use a Linux box to bridge 2 etherogenous networks. Network 1 (eth0): The Internet Network 2 (eth1): An Ethernet segment where everybody could plug his computer. Don't ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-11-2007 #1
- Join Date
- Jul 2007
Can I use proxy-arp and NAT to route an "alien" computer to the Internet?
Network 1 (eth0): The Internet
Network 2 (eth1): An Ethernet segment where everybody could plug his computer. Don't even think of subnets...
I want to allow computers connected to Network 2 to initiate requests to the Internet (browsing...).
Of course, I can't figure out what is the IP address of a computer plugged on Network 2. If that computer is configured to use DHCP, I can provide it with all the parameters to route to the Network 1. If that computer uses a static IP address, I imagine to use proxy-arp to answer to that computer the MAC address of the Linux box, as its gateway. Then, I could use NAT to let him access the Internet.
Can I consider such a scenario? What is needed to accomplish this?
I have already set:
echo "1" > /proc/sys/net/ipv4/conf/eth1/proxy_arp
arp -i eth1 -s 172.16.14.1 00:E0:4C:B0:1B:A5 pub
- 07-13-2007 #2
That's a multiposting. See Can I use proxy-arp and NAT to route an "alien" computer to the Internet? - LinuxQuestions.org"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds