The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 RIPV2 and NAT and Filtering
Author: Chris Demers 
Date:   26-11-02 21:32


I have been scratching my head on this one and i think i'm possibly just over looking the obvious. Here is the problem:

FreeBSD Router----NAT (xl0)---Local 192.168 IPs
Assigned Internet Block 16ip#s

OK, the FreeBSD box is connected to the internt by a wireless connection (wi0) the local is xl0. The problem that i am having is that RIP is advertising the local 192.168 addresses, i do not want to advertise those, but i do want to advertise the assigned block. Right now everything works but i keep getting the local addresses advertised to all the other routers wich i do not want as we will be deploying a bunch of boxes like this and i don't need a bunch of unroutable blocks in the routers tables. The other routers are also FreeBSD machines either running routed or Zebra (for RIP/OSPF/BGP). The client ends will only be running routed. Any suggtions? I have hunted though the man pages and through the main FreeBSD documentation without sucess.

Apprechiate any help anyone can offer. Thanks in advance.


Reply To This Message
 Re: RIPV2 and NAT and Filtering
Author: .daniel.schrock 
Date:   26-11-02 21:43

you need another nic.
one nic for nat, one for the public subnet. then disable rip on the nat interface.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum