Junos OS

last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Multiple subnets on the same interface

    Posted 04-21-2009 06:23

    Hi,

     

    Is it possible to have multiple subnets on the same interface?

     

    Ex.

    10.10.10.0/24

    10.10.11.0/24

     

    I have a customer that need more addresses and today they have one subnet.

     

    How to people handle these situations normally?

     

    I'm kind of new to junos.

     

    Regards

     Freddy



  • 2.  RE: Multiple subnets on the same interface
    Best Answer

    Posted 04-21-2009 06:31

    This is possible. Have a look at the configuration below.

     

    [edit interfaces so-0/0/0 unit 0]
    lab@bath# show
    family inet {
    address 10.0.61.6/24;
    }
    family iso;
    family mpls;

    [edit interfaces so-0/0/0 unit 0]
    lab@bath# set family inet address 10.0.10.10/24

    [edit interfaces so-0/0/0 unit 0]
    lab@bath# show
    family inet {
    address 10.0.61.6/24;
    address 10.0.10.10/24;
    }
    family iso;
    family mpls;

    [edit interfaces so-0/0/0 unit 0]
    lab@bath# set family inet address 10.0.10.10/24 primary

    [edit interfaces so-0/0/0 unit 0]
    lab@bath# show
    family inet {
    address 10.0.61.6/24;
    address 10.0.10.10/24 {
    primary;
    }
    }
    family iso;
    family mpls;

    [edit interfaces so-0/0/0 unit 0]
    lab@bath#

     

     

     

    Message Edited by AntonD on 04-21-2009 03:47 PM