|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Got the answer
This can't be done without a router...
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > gateway to one ethernet card |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|