Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to configure proxy arp?

Reply
Thread Tools Display Modes

How to configure proxy arp?

 
 
Erkki Huhta
Guest
Posts: n/a

 
      07-09-2003, 07:17 AM
My current network looks like this:

internet
|
adsl router
|
(eth0)
linux-firewall/nat
(eth1)
|
switch
|
----------
| |
win98 WinXP

All windows machines are connected to internet via
linux firewall/nat (linux machines use dhcp to get private
ip addresses from linux). So from the internet it looks
like there is only one machine (192.168.0.1). This
works fine.

I would like to connect my laptop "directly" into the internet.
So it would get it's public ip address from my ISP's dhcp server
and same time it could use the services which are available only
for machines which are located in the internal network
(currently eth1 interface). The picture would look like this:

internet
|
adsl router
|
(eth0)
|
(eth0)
linux-firewall/nat (Redhat 9)
(eth1) (eth2)
| |
switch laptop
|
----------
| |
win98 WinXP

I thinks I have to configure proxy arp, but how is it done?
I don't want to just go and try different things, because I'm
affraid it affects the current configuration and my NAT stops
working :I.

This is what I would do, is it correct:

1. Install third NIC (eth2)
The problem is how do I configure it? eth0 gets it's configuration
from my ISP via dhcp and eth1 is configured:
IP address: 192.168.0.1
broadcast: 192.168.0.255
Mask: 255.255.255.0

Could I use e.g. following configuration:
IP address: 192.168.1.0
broadcast: 192.168.1.255
Mask: 255.255.255.0

2. Turn on proxy arp:

echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 > /proc/sys/net/ipv4/conf/eth2/proxy_arp

Do I need it for both interfaces?

3. Configure linux to accept packets for the laptop

?

4. Create route from internet (eth0) to laptop (eth2)
and vice versa

?

5. Configure laptop?
Does the laptop (running win98) need some configuration,
routes, gateways?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*New Proxy -- QUICK LOADING Proxy* SurfHide.us Wireless Internet 0 09-26-2008 05:50 AM
Help configure Linux Firewall + Squid Proxy to allow access to Gmail. hlk Linux Networking 0 12-13-2007 11:26 AM
Is there any way to configure igmp proxy on linux kernel 2.6 jeniffer Linux Networking 1 08-22-2006 06:26 PM
Using an outside proxy server form behind a proxy server UnaCoder Linux Networking 6 02-22-2006 07:53 PM
Proxy configuration - tool for identifying what proxy is being use =?Utf-8?B?Q2hyaXMgQg==?= Windows Networking 0 03-21-2005 08:31 PM



1 2 3 4 5 6 7 8 9 10 11