Unix Technical Forum

filtering bridge

This is a discussion on filtering bridge within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I have been intermittently trying to set up a filtering bridge for a small network using OBSD 3.6. Installation ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 06:46 AM
Kernel Mustard
 
Posts: n/a
Default filtering bridge

I have been intermittently trying to set up a filtering bridge for a
small network using OBSD 3.6. Installation goes well, but none of the
internal machines can access the outside world or get an IP address from
the router. The network configuration is ISP>cable modem>router/DHCP
server providing non-routable addresses>bridge>switch>internal boxes.

I read in one manual that a crossover cable was needed to connect the
bridge to the internal machine. Is that true? If so, does the
crossover cable go between the switch and the bridge or between the
switch and each internal machine?

Thanks,

G
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 06:46 AM
+Alan Hicks+
 
Posts: n/a
Default Re: filtering bridge

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In comp.unix.bsd.openbsd.misc, Kernel Mustard dared to utter,
> The network configuration is ISP>cable modem>router/DHCP
> server providing non-routable addresses>bridge>switch>internal boxes.
>
> I read in one manual that a crossover cable was needed to connect the
> bridge to the internal machine. Is that true? If so, does the
> crossover cable go between the switch and the bridge or between the
> switch and each internal machine?


Yes it's true. Let me demonstrate this by showing the pin-out of a
regular 568B patch cable first.

1 = orange-white
2 = orange
3 = green-white
4 = blue
5 = blue-white
6 = green
7 = brown-white
8 = brown

1 2 3 4 5 6 7 8
| | | | | | | |
- ----------------------
||||||||
- ----------------------
| | | | | | | |
1 2 3 4 5 6 7 8

So you notice in a patch cable (a "regular" CAT-5 cable you might say)
that everything passes straight through. When you connect this to a
switch or hub, the switch or hub has receivers aligned somewhat like
this.

3 6 1 4 5 2 7 8

Basically the orange pair from the cable connects to the green pair on
the switch and vice-versa. Since you're using two NICs with no switch
between them, you need a cross-over cable made like this.

1 2 3 4 5 6 7 8
| | | | | | | |
- ----------------------
||||||||
- ----------------------
| | | | | | | |
3 6 1 4 5 2 7 8

With a cross-over cable, the cable itself connects the orange pair of
one NIC to the green pair of the other, and vice-versa. Make sense?
You need to connect the cross-over cable between the bridge and the
router so the connections look like this.

1 2 3 4 5 6 7 8
| | | | | | | |
1 2 3 4 5 6 7 8
| | | | | | | |
- ----------------------
||||||||
- ----------------------
| | | | | | | |
3 6 1 4 5 2 7 8
| | | | | | | |
1 2 3 4 5 6 7 8

If you've got it configured thusly and there are no problems with the
cable, you can be pretty sure the physical layer is alright, and you've
got some sort of software configuration problem.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCwtN6zLTO1iU1uO4RAlIAAKDiEdxzqHj7Ah4RrV/T08MPRKC+NACeNN6R
a2ue2RxGuqI0NdvjeTAorkk=
=m6tN
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 06:46 AM
tedu
 
Posts: n/a
Default Re: filtering bridge

you don't need a cross-over if you are using a switch. a cross-over is
to connect two machines directly.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com