Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advanced Routing

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have faced the following problem :
I have an OBSD 2.9 box which is a Router. It has 3 NICS. The first is connected to the ISP1, the second to ISP2 and the third to my LAN. On the other hand in my LAN I have to subnets: 192.168.1.0/24 and 192.168.2.0/24. The computers in these nets have a Default Gateway th OBSD box.

I want to let the first network through ISP1 and the second through ISP2. The real problem is that I have no idea how to do this ?!?!?!?

ISP1 ISP2
| |
-----------
| OpenBSD |
-----------
|
-------
| |
net1 net2

net1=192.168.1.0/24
net2=192.168.2.0/24

Any comments ??
 
Well, I would connect the two networks on two different cards, themselves ,connected to two different physical networks.
 
Hi.

I believe you will need a fourth(4th) NIC on the OBSD box so that the two internal LAN segments can route to their own gateway.


ISP1 ISP2
| |
1.2.3.4 5.6.7.8
| |
-----------
| OpenBSD |
-----------
192.168.1.1 |
| |
net1 |
|
192.168.2.1
|
net2

Default gateways for each internal LAN segment will be:
net1 = 192.168.1.1
net2 = 192.168.2.1

OpenBSD will be the router between the two LAN segments. From there, you can also define how you'd like to route each LAN to the internet. ---
Try not. Do. Or do not. There is no try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top