BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD 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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 7th, 2002, 06:45 AM
sparki sparki is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Sydney
Posts: 41 sparki User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
gateway to one ethernet card

Hi,

I have a freeBSD machine with two ethernet cards, one for public network(rl1) through ADSL and one for private network(rl0).

A problem I have encoubtered is that I cannot setup the gateway to the public network. The actual problem is the ADSL has a different network as my public network.

It's something like this;

ADSL(xxx.yyy.251.29/30) <---> freeBSD(rl1:xxx.yyy.207.180/29)(rl0:192.168.xxx.xxx) <--> private 192.168.xxx.xxx

Both 251.28/30 and 207.176/29 networks are active on the same line as ADSL. This has been confirmed by another box who's IP addesses are xxx.yyy.251.30 and xxx.yyy.207.178 (multi homed). This box works because it has the same network as the ADSL.

The freeBSD machine however does not have the same network as ADSL. I think this is the problem and I think I need to set up the routing so the machine knows how to get the Internet through ADSL.

I have tried something like this

route add -net 0.0.0.0 -interface rl1

I can then ping xxx.yyy.251.29 (ie ADSL gateway) but still I am not able to ping outside the Internet.

Can anyone please suggest how to fix this problem.


Thanks in advance and regards,

Peter
__________________
% gdb core tzuchunc

Reply With Quote
  #2  
Old May 1st, 2002, 01:38 AM
sparki sparki is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Sydney
Posts: 41 sparki User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Got the answer

This can't be done without a router...

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > gateway to one ethernet card


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 3 hosted by Hostway