Re: Proxy ARP with Linux



"buck" <buck@xxxxxxxxxxx> escreveu na mensagem
news:50d05219lpc9laluhpus8dutf9c51jvfcn@xxxxxxxxxx
I don't think much of either of your diagrams, and you really have not
given enough information for a good answer. From what I see, you just
need the external interface to have IPs .129 and .130 (alias). What
is not clear is why you need anything other than the correct netmask
for the internal IF.

my internal netmask é 24bits.


buck

My Linux server (eth0=10.0.0.130; eth1=192.168.0.1) is connected to
internet via cisco router (10.0.0.129) and to Lan via eth1. I just want
to connect a machine to the Lan switch (so, it will physically access
eth1, internal IF) and configure it to IP 10.0.0.131, as it were in the
external segment.


Internet ------ | eth0-LINUX-eth1 | ------LAN

10.0.0.128/26 192.168.0.0/24


alias:
eth1:0 = 10.0.0.130

Is these routes right?
ip route del 10.0.0.128/26 dev eth0
ip route del 10.0.0.128/26 dev eth1
ip route add 10.0.0.131 dev eth1
ip route add 10.0.0.128/26 dev eth0



Tom

.



Relevant Pages

  • Re: Weird net connection problem
    ... Lets say that you have your own /24 network that ... The internet knows nothing. ... my sloppy writing - I mean the set of routers that go to make up ... for the high-speed route from the Tunnel to St Pancras not only cut the ...
    (uk.comp.sys.mac)
  • Re: One computer on 2 networks
    ... On the server take the new "internet Nic" and set it up properly for the ... Create a static route in the OS's routing table that uses the LAN Router ... don't work in the Network Admin Dept. I'm a developer. ...
    (microsoft.public.windows.server.networking)
  • subnet to subnet routing question
    ... [root@circle root]$ ip route ... 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.3 ... The only route that I have explicitly added above (ie, ...
    (comp.os.linux.networking)
  • Connect to internal lan using PPP
    ... It's currently the default gateway for an internal lan and I'd like to ... internet cable, one internal for home and runs natd for the other local pc. ... If i delete this route on the windows client and ... # set dns 203.2.75.132 ...
    (freebsd-questions)
  • Re: Dinosaurs wont route
    ... You cannot and should not route RFC1918 addresses to the internet. ... ICMP unreachables are always sent ... IP fast switching on the same interface is disabled ...
    (comp.dcom.sys.cisco)