Routing help with arp or zebra -> BRIDGE
feczo at siodigit.hu
Fri Dec 3 10:39:58 PST 2004
so the answer to myself
If I would like to connect two physical nets without subnetting
I must use bridging. The following commands solve the problem:
> 2004-11-29, h keltezéssel 17:02-kor Feczak Szabolcs ezt írta:
> > Hi there,
> > I have the following network env. (IPs are not real though similar)
> > (INTERNET) - [? ? ? ?] Internet GW (cisco) [18.104.22.168] - switch -
> > hosts connected to the switch like 22.214.171.124 126.96.36.199 etc.
> > probably in the /24 range or maybe it uses classless routing I do
> > not realy know
> > My host/router is connected to this switch as well
> > [188.8.131.52/28 fxp0] inner gw [184.108.40.206/28 fxp1]
> > I have hosts connected to this innergw in the 220.127.116.11/28 network
> > like 18.104.22.168 for example
> > of course this setup doesn't work promptly, but If I do
> > on the inner-gw the following
> > ifconfig fxp1 down
> > route delete 22.214.171.124
> > ifconfig fxp0 alias 126.96.36.199/32
> > ping 188.8.131.52 from the other side of the internet
> > of course it works since Internet GW forwards the packet
> > to its switched interface, than arp request and response
> > on the innergw fxp0 interface
> > Now the Cisco router has 184.108.40.206 in its arp cache
> > so now I do the following on the innergw
> > ifconfig fxp0 -alias 220.127.116.11
> > ifconfig fxp1 up
> > ping 18.104.22.168
> > whoala it works .. I can reach my machine behind the
> > innergw
> > for 4 hours, then cisco clears this entry from its arp
> > cache and no more fun.
> > I have tried to do something with arp host hwaddr pub command,
> > but its trying to advertise things on the inner interface
> > so its no good.
> > I know the best would be a static route entry on the cisco
> > to route all packets in the 22.214.171.124/28 network to
> > the innergw interface.
> > Sadly I do not have access to the cisco router and its admin
> > is nearly unreachable and make him do things is even harder.
> > So my question is ... is it possible to do the trick with
> > some arp magic, or do I need zebra to talk rip or sg. with
> > the cisco, so I can advertise my subnet .... ?
More information about the freebsd-questions