netdev
[Top] [All Lists]

Re: Layer 3 (IP) based switching for Linux? (IT WORKS!!)

To: William Stearns <wstearns@xxxxxxxxx>, netdev <netdev@xxxxxxxxxxx>
Subject: Re: Layer 3 (IP) based switching for Linux? (IT WORKS!!)
From: Ben Greear <greearb@xxxxxxxx>
Date: Tue, 28 Dec 1999 14:19:51 -0700
Organization: AG Communication Systems
Posted-date: Tue, 28 Dec 1999 14:19:23 -0700 (MST)
References: <Pine.LNX.4.10.9912281208570.1133-100000@sparrow.websense.net>
Reply-to: greearb@xxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
IT WORKS!! :)  (Linux rules!)

After figuring out the win95 box (.211) was no longer on speaking terms with 
it's
NIC, I put a linux box in its place.  With a few more arp statements, everything
started working!!

One thing that is a little worrying is that the length of this config file will 
increase
exponentially as interfaces are added.  This may limit me to less interfaces
that I was planning on supporting.  Or maybe I'll just need to buy more
RAM.

NOTE:  .211 became .239, if you are trying to sync this up with the picture
I sent earlier.

Here is the end result of the arp-proxy configuration:

        vconfig add eth1 20
        vconfig add eth1 21
        ifconfig -i vlan0000 10.1.1.20  # vlan 20
        ifconfig -i vlan0001 10.1.1.21  # vlan 21
        ifconfig -i vlan0000 up
        ifconfig -i vlan0001 up

        # Do proxy-arp stuff
        # For each new VLAN Interface (Subscriber):
        #   Add vlan interface.
        #     Give it IP and configure it UP.
        #   Add proxy to every other interface (other than self)
        #   Add host route.

        # How to find those on vlan0000
        route add -host 130.131.190.239 vlan0000
        arp -i vlan0001 -Ds 130.131.190.239 vlan0000 pub
        arp -i eth0 -Ds 130.131.190.239 eth0 pub

        # How to find those on vlan0001
        route add -host 130.131.190.212 vlan0001
        arp -i vlan0000 -Ds 130.131.190.212 vlan0000 pub
        arp -i eth0 -Ds 130.131.190.212 eth0 pub

        # Proxy for things on the upstream side.

        # How to find .254 (DNS server)
        arp -i vlan0000 -Ds 130.131.190.254 vlan0000 pub
        arp -i vlan0001 -Ds 130.131.190.254 vlan0000 pub

        # How to find .3 (gateway)
        arp -i vlan0000 -Ds 130.131.190.3 vlan0000 pub
        arp -i vlan0001 -Ds 130.131.190.3 vlan0000 pub


Thanks for everyone's help!!

Ben


--
Ben Greear        greearb@xxxxxxxx   Pager: 202-2717
(623) 581 4980    "More weight!" -- _The Crucible._
http://hydrogen:8080/home/greearb/public_html/index.html




<Prev in Thread] Current Thread [Next in Thread>