Routing
Reply
evt
Contributor
Posts: 97
Registered: ‎02-10-2008
0

Multiple VLANs - one IRB interface

We recently have started looking into migrating our DSL customers from an ATM DS3 onto a Gigabit ethernet connection from our provider.  I'm trying to get the configs together for this and I'm having trouble figuring out how to do something.  We currently have ADSL customers each on a separate PVC and are using RFC-1483 Route Bridge Encapsulation on each ATM subinterface.  The config on the Cisco looks like this:

 

interface Loopback10

 ip address 192.168.1.1 255.255.255.0

!

interface ATM2/0.80

 ip unnumbered Loopback10

 atm route-bridged ip

  pvc 3/80
  encapsulation aal5snap

!

ip route 192.168.1.5 255.255.255.255 ATM2/0.80

 

Each customer will eventually come through on the GigE as a separate VLAN.  Is there a way I can attach several VLANs to a single IRB interface?  Having several hundred customers change their IPs is kind of out of the question. I'm using an MX80 with 10.4R8.5 at the moment.  Would I need to configure something like VLAN rewrite and swap the VLAN upon ingress with the one that matches my IRB interface? 

evt
Contributor
Posts: 97
Registered: ‎02-10-2008
0

Re: Multiple VLANs - one IRB interface

I may have answered my own question here.  I found that the following configuration *appears* to work:

 

interfaces {

    ge-1/3/10 {
        enable;
        flexible-vlan-tagging;
        encapsulation flexible-ethernet-services;
        unit 100 {
            encapsulation vlan-bridge;
            vlan-id 100;
            family bridge;
        }
        unit 101 {
            encapsulation vlan-bridge;
            vlan-id 101;                
            family bridge;
        }
    }

    irb {                               
        unit 100 {
            family inet {
                address 192.0.2.1/24;
            }
        }
    }

}

bridge-domains {
    test-bridge {
        vlan-id none;
        interface ge-1/3/10.100;
        interface ge-1/3/10.101;
        routing-interface irb.100;      
    }
}

 

I found the following less-than-useful documentation:

 

http://www.juniper.net/techpubs/en_US/junos11.2/topics/task/configuration/layer-2-vlans-normalized-f...

 

Can anyone see anything wrong with accomplishing my goal this way?  It seems pretty straightforward and completely uncomplicated, which makes me think that there's something I'm glossing over here.

 

Thanks,

evt

Trusted Contributor
jozef.klacko
Posts: 142
Registered: ‎07-19-2010
0

Re: Multiple VLANs - one IRB interface

Hi,

Jist random thoughts.

Is it possible to do it almost same way as on cisco with unnumbered interfaces?
www.juniper.net/techpubs/en_US/junos10.2/information-products/topic-collections/config-guide-network...

and I think there is a training

www.google.com/m?q=juniper+mx+subscriber+management&client=ms-opera-mini-android&channel=new

Jozef Klacko
evt
Contributor
Posts: 97
Registered: ‎02-10-2008
0

Re: Multiple VLANs - one IRB interface

I actually tried that but IRB interfaces wont let you do unnumbered addressing. I'll check out the other link. thanks!
evt
Contributor
Posts: 97
Registered: ‎02-10-2008
0

Re: Multiple VLANs - one IRB interface

After investigating this some more, I found something else, thanks in part to Josef's post:

 

http://www.juniper.net/techpubs/en_US/junos/topics/example/subscriber-management-gigabit-ethernet-vl...

 

My config came out like this and appears to work okay:

 

interfaces {

    ge-1/3/10 {
        enable;
        flexible-vlan-tagging;
        encapsulation flexible-ethernet-services;
        unit 100 {
            proxy-arp;
            vlan-id 100;
            family inet {
                unnumbered-address lo0.0 preferred-source-address 192.0.2.1;
            }
        }
        unit 101 {
            proxy-arp;
            vlan-id 101;
            family inet {
                unnumbered-address lo0.0 preferred-source-address 192.0.2.1;
            }
        }
    }

    lo0 {
        unit 0 {
            family inet {
                address 192.168.8.68/32 {
                    primary;
                    preferred;
                }
                address 192.0.2.1/32;
            }

        }

    }

}

 

I'm also still looking at things like demux interfaces, but I still don't quite understand the concept - for instance, what's different/better/worse between the above config and, say, this one:

 

http://www.juniper.net/techpubs/en_US/junos/topics/example/subscriber-management-v4-static-vlan-demu...

 

All our subscribers are static, no DHCP, no PPPoE - just straight VLANs and less to "go wrong".  I like the above method because it seems much easier to configure, as there's no need for bridge domains and IRB interfaces.

 

Is there anyone that can explain a demux interface a little better than the docs can?

Trusted Contributor
jozef.klacko
Posts: 142
Registered: ‎07-19-2010
0

Re: Multiple VLANs - one IRB interface

evt
Contributor
Posts: 97
Registered: ‎02-10-2008
0

Re: Multiple VLANs - one IRB interface

Yeah, I *just* got the same email from the communities mailer!  Been perusing it for the past several minutes.

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.