Re: Bridging interfaces



Thanks for your help Chris, I ended up rebooting the router since I wasn't
sure what manner of nonsense I'd put in and everything is working.

On 9/29/07, Christopher Cowart <ccowart@xxxxxxxxxxxxxxxxxxxx> wrote:

On Sat, Sep 29, 2007 at 09:49:36PM -0600, Simon Timms wrote:
That makes a lot of sense, but I suppose I still don't understand why
this
isn't working. The handbook section on routing is pretty basic and it
seems
to come down to setting net.inet.ip.forwarding to 1 if you want to route
packets between interfaces on a dual-homed host. I'm able to reach
hosts on
both subnets from the router and my routing table looks like:

Internet:
Destination Gateway Flags Refs Use Netif
Expire
default wireless UGS 0 9905
sis0
localhost localhost UH 0 134
lo0
192.168.1 link#1 UC 0
0
sis0
orinoco 00:d0:09:f8:f7:5a UHLW 1
268 lo0
192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 87
sis0
192.168.2 link#2 UC 0 0
rl0
192.168.2.255 ff:ff:ff:ff:ff:ff UHLWb 1 87
rl0

Are your 192.168.2/24 machines configured to use 192.168.2.2 as their
default router? They don't know where 192.168.1.2 is, because they
don't see it as being on the same link. The subnet mask is used to
determine this kind of reachability.

You could probably use 192.168.1.2 as your default router, as long as
you created a static route `route add 192.168.1/24 192.168.2.2', telling
the system that to get to 192.168.1/24, the next-hop is 192.168.2.2.
This seems needlessly complex when you can just configure 192.168.2.2 as
your default router and skip the static route configuration all
together.

Regardless, bridging isn't going to help unless the host and the default
router have the same subnet configurations.

--
Chris Cowart
Lead Systems Administrator
Network & Infrastructure Services, RSSP-IT
UC Berkeley


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: static routing
    ... from the remote server, but not clients. ... It is just one connection between the two routers. ... Each router now has a static route to the subnet at the other site ...
    (microsoft.public.windows.server.networking)
  • Re: OT:--CISCO EXPERTS...
    ... boxes and Cisco routers connected to these with X21 cable. ... You mention steep learning curve but if I can just get ino router maybe can ... > want to consider any risk of providing them with an insecure configuration ... >>> Telnet access should also be disabled leaving connection via SSH or ...
    (microsoft.public.windows.server.sbs)
  • Re: static routing
    ... I wasn't talking about the remote branch router. ... connecting to a demand-dial interface, ... server can route to the corporate LAN but machines behind it cannot. ... A static route has been added that matches the subnet of the ...
    (microsoft.public.windows.server.networking)
  • Home DSL configuration BNCP problems
    ... The router information is as follows: ... With the posted configuration the dsl link is actually up and also the ... Outbound bridge packet dropped, BNCP state is Listen ... Vi2 BNCP: TIMEout: State Listen ...
    (comp.dcom.sys.cisco)
  • Re: Route tables
    ... > gateway does do NAT. ... ethernet card's configuration (which is usually why the lo interface ... One end plugs into their router, ... -- all hosts configured to use same network ...
    (comp.os.linux.networking)