Bluehost.com Web Hosting $6.95

How to configure proxy arp?

This is a discussion on How to configure proxy arp? within the Linux Networking forums, part of the Linux Forums category; My current network looks like this: internet | adsl router | (eth0) linux-firewall/nat (eth1) | switch | ---------- | | win98 WinXP All windows machines ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-09-2003
Erkki Huhta
 
Posts: n/a
Default How to configure proxy arp?

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0