[116309] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Subnet Size for BGP peers.

daemon@ATHENA.MIT.EDU (Mikael Abrahamsson)
Thu Jul 30 00:29:15 2009

Date: Thu, 30 Jul 2009 06:28:26 +0200 (CEST)
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Benjamin Billon <bbillon-ml@splio.fr>
In-Reply-To: <4A70C897.2060108@splio.fr>
Cc: nanog@nanog.org
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

On Thu, 30 Jul 2009, Benjamin Billon wrote:

> Who knows any other good way to lose IP addresses?

I know how to not lose them:

int lo30
ip address 192.168.0.1 255.255.255.0

int gi2.10
encap dot1q 10
desc cust 1
ip address unnumbered lo30

int gi2.11
encap dot1q 11
desc cust 2
ip address unnumbered lo30

ip route 192.168.0.2 255.255.255.255 gi2.10
ip route 192.168.0.3 255.255.255.255 gi2.11

etc. Now you can have one customer per vlan but still have them share the 
same IP subnet. This works with vlan interfaces as well.

I don't remember if you have to do local-proxy-arp or not, but if you're 
running bgp you could always do next-hop-self to be sure it hops via the 
gateway.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se


home help back first fref pref prev next nref lref last post