routing question

Paul Civati paul at xciv.org
Thu Jul 27 11:48:18 BST 2000


I presume that this is you then.. :)

% whois -h whois.arin.net 192.192.192.150
Ministry of Education Computer Center (NETBLK-TANET-C)
   12th Fl, 106, Hoping E. Road, Sec 2.
   Taiwan Republic of China, R.O.C 
   TW

   Netname: TANET-C
   Netblock: 192.192.0.0 - 192.192.255.255
   Maintainer: UNKN

Else you should be using RFC1918 blocks, ie. 192.168.0.0/16.

>     I have this freebsd box with two nics, ed0 (192.192.192.150) and ed1
> (192.192.193.150).

What netmasks do you have on each interface?

> what i am trying to do, but not getting very far is to
> get all the traffice from ed1 to pass through ed0. what do i need to use ?
> nat ? routed? gated? well actually i am stuck there ?
> so any help would be nice

Routed and gated are only used for route distribution.

NAT is used for hiding hosts on private address space (ie. RFC1918)
behind real IPs, either in a one to one mapping or a one to many
mapping.

To route traffic between interfaces you must have IP routing enabled,
and also the correct routes in the routing table.

To 'get all the traffice from ed1 to pass through ed0' I think you'll
probably need a default route that is pointing out of the ed0
interface to a host on the 192.192.192.150 network.

-Paul-




More information about the Ukfreebsd mailing list