Networking Forums

Networking Forums > Computer Networking > Linux Networking > Gated learning RIP from non-local subnet?

Reply
Thread Tools Display Modes

Gated learning RIP from non-local subnet?

 
 
jimnl69@hotmail.com
Guest
Posts: n/a

 
      03-16-2005, 05:00 PM
I have a box with a virtual interface that terminates IPSec tunnels.
This interface used to use an IP Address within the same subnet as the
addresses assigned to the users end of the IPSec tunnel. Design
changes have forced me to change my virtual interface on the hub end to
use a loopback address. Now, gated gives me errors when those
endpoints send their RIP updates down.

Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
10.255.17.223+520 - not on same net
Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
10.255.16.215+520 - not on same net
Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
10.255.17.152+520 - not on same net
Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
10.255.16.193+520 - not on same net
Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
10.255.16.91+520 - not on same net

How do I tell gated that these routes MUST be learned from my virtual
interface (vn0)? If possible, I need to be able to do this generically
(without specifying actual subnets if possible). I then need to send
these routes out eth1.

Thanks,
Jim

 
Reply With Quote
 
 
 
 
jimnl69@hotmail.com
Guest
Posts: n/a

 
      03-23-2005, 07:48 PM
anyone? anyone?

 
Reply With Quote
 
Steve Horsley
Guest
Posts: n/a

 
      03-23-2005, 08:18 PM
(E-Mail Removed) wrote:
> I have a box with a virtual interface that terminates IPSec tunnels.
> This interface used to use an IP Address within the same subnet as the
> addresses assigned to the users end of the IPSec tunnel. Design
> changes have forced me to change my virtual interface on the hub end to
> use a loopback address. Now, gated gives me errors when those
> endpoints send their RIP updates down.
>
> Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
> 10.255.17.223+520 - not on same net
> Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
> 10.255.16.215+520 - not on same net
> Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
> 10.255.17.152+520 - not on same net
> Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
> 10.255.16.193+520 - not on same net
> Mar 16 12:57:10 rip_recv: ignoring RIP Response packet from
> 10.255.16.91+520 - not on same net
>
> How do I tell gated that these routes MUST be learned from my virtual
> interface (vn0)? If possible, I need to be able to do this generically
> (without specifying actual subnets if possible). I then need to send
> these routes out eth1.
>
> Thanks,
> Jim
>


Fix your design.

It is normal for tunnels to be treated the same way as point-to-point
WAN links - assign a subnet with a 255.255.255.252 mask to the tunnel,
and give each end one of the two allowable host numbers on that subnet.
e.g. 10.11.12.12 255.255.255.252 allows 4 host addresses:
10.11.12.12 - 10.11.12.15. The first and last cannot be used as host
addresses, but the middle 2 (13 & 14) can.

When gated receives RIP updates from another router that is on the
SAME SUBNET AS THE RECEIVING INTERFACE, then it will accept them.
Updates from a different subnet are (must be) ignored, treating them as
though coming from crossed lines.

Steve.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent users from accessing local subnet while VPN'ed in? Trevor Windows Networking 2 03-16-2006 11:00 PM
iptables port forwarding blocked from local subnet Bart Linux Networking 2 10-16-2005 07:24 PM
Win 2003 Server only talking with local Subnet Timothy Minahan Windows Networking 11 12-02-2004 10:01 PM
Gated Monica M. Linux Networking 0 10-22-2004 01:06 PM
BGP and RIP using gated Jim Linux Networking 0 07-16-2004 04:09 PM



1 2 3 4 5 6 7 8 9 10 11