The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
2 default gateways ce9888 AIX 10 03-31-2009 11:59 AM
configuring 2-gateways in linux jagdish.machhi@ Shell Programming and Scripting 1 09-20-2007 10:35 AM
setup of 2 gateways on AIX mynikolas AIX 2 06-06-2005 04:00 AM
2 gateways on the same unix box josramon IP Networking 2 04-12-2004 11:56 AM
gateways Deuce UNIX for Dummies Questions & Answers 2 11-12-2001 07:42 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-02-2009
edgarvm edgarvm is offline
Registered User
  
 

Join Date: May 2009
Posts: 20
Two gateways

I have a web server running FreeBSD 7.2, i have configured two NICs in the following way:
fxp0: 200.14.xxx.254
sk0: 200.12.xxx.4

gateway: 200.14.xxx.1

both ip addresses are public but only those requests to fxp0 are successful.


I have tried configuring nat and binat in sk0 but it doesn't work, any suggestion?

thanks in advance
  #2 (permalink)  
Old 06-02-2009
_R3d _R3d is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 73
error messages and configs would be a big help.
  #3 (permalink)  
Old 06-02-2009
edgarvm edgarvm is offline
Registered User
  
 

Join Date: May 2009
Posts: 20
R3d The reason is quite simple but i can't fix it, when a request arrives from sk0 the server tries to answer through the gateway, however the packet is routed to 200.14.xxx.1 (fxp0) then the client never receives ACK
  #4 (permalink)  
Old 06-02-2009
robsonde robsonde is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 158
my thought is that you will need to build a routing table.
  #5 (permalink)  
Old 09-14-2009
michealrp michealrp is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 7
I realize that this is about 2 years late, but freebsd will only route to the locally connected lan on the nic that the traffic originates from. If it's from a lan other than the nic's local lan, the return path will be the default gateway. To have traffic route the other nic, you'll need to set up routing protocols or static routes.
Sponsored Links
Reply

Bookmarks

Tags
freebsd, networks

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0