Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 8th, 2004, 09:27 PM
Rob_G Rob_G is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 5 Rob_G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Router Bridge or NAT

I have a FreeBSD box running at this time and currently using a Broadband DSL Router.

My ISP has assigned me multiple static IP's.

My First IP is 69.63.33.* and then I have a block of 8 static IP's 209.213.231.*/29

What I would like to do is use my FreeBSD box as a Router or Bridge so it will have the first 69. IP address and my other systems having the BSD box as a Router or Bridge to the internet. I would like the 209 boxes to be somewhat open to the internet, so we can use IRC and the such without playing the pain in the butt configuring game that we have to through the Broadband Router.

The 209 addresses all route to the 69 address from there I have to route them to the right systems.

Without going out and buying a Cisco router what would be the best way to do this? Can FreeBSD do what I want without having to do NAT?

Reply With Quote
  #2  
Old April 9th, 2004, 05:40 AM
rais rais is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 24 rais User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 34 sec
Reputation Power: 0
FreeBSD as Router

Yes, this can be done without NATing. Simply assign any of the static IPs you have to your machines. Your BSD machine will get two IPs, one from each subnet.

Hope this helps.

Reply With Quote
  #3  
Old April 9th, 2004, 08:51 AM
Rob_G Rob_G is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 5 Rob_G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by rais
Yes, this can be done without NATing. Simply assign any of the static IPs you have to your machines. Your BSD machine will get two IPs, one from each subnet.

Hope this helps.


Yes it does help, maybe I am thinking of too hard of a way of doing this.

WIll I have to bridge the two nics, or would it simply be set the default gateway of the second (LAN) nick to the IP Address of the WAN nic and the BSD box will automatically know where to router incoming packets or will I have to setup IPRoutes as well, or ipdivert I think I have read up on trying to find my answer

Reply With Quote
  #4  
Old April 14th, 2004, 07:37 AM
rais rais is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 24 rais User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 34 sec
Reputation Power: 0
No Need to Bridge

The two NICs need not be bridged together. They will work ok at L3. Yes, you will need a default gateway routing pointing to the IP on other side of the WAN NIC.

Thanks.

Reply With Quote
  #5  
Old April 15th, 2004, 02:26 PM
Rob_G Rob_G is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 5 Rob_G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok I got it working. It was easier then I was trying to make it

I have Two NICS in my FBSD box. Have enable_gateway=yes in my rc.conf and then I set the IP's for the internal network card and using my Provider to assign the IP of my WAN card. I believe I set the Gateway of my internal LAN card to be the WAN IP but I can't remember as I write this as I am at work

Thanx for the help and ideas.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > Router Bridge or NAT


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway