|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Quote:
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 ![]() |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Networking Help > Router Bridge or NAT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|