Junos OS

last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Virtual Router and Vlan Issues.. Ideas?

    Posted 04-22-2015 13:44

    Right guys..

     

    So I ran the following commands..

     

    set interfaces fe-0/0/6 description "TRUNK PORT"
    set interfaces fe-0/0/6 unit 0 family ethernet-switching port-mode trunk

    set interfaces vlan unit 10 family inet address 10.1.1.1/24

    set vlans DMZ description "DMZ"
    set vlans DMZ vlan-id 10
    set vlans DMZ interface fe-0/0/6.0
    set vlans DMZ l3-interface vlan.10

     

    at this point the servers can ping the gateway 10.1.1.1 and have internet access.

     

    I add in my VR

     

    dmz-vr {
    instance-type virtual-router;
    interface fe-0/0/6.0;
    routing-options {
    static {
    route 0.0.0.0/0 next-table inet.0;

     

    and I can no longer get to the internet and can't ping the gateway..

     

    security-zone dmz {
    address-book {
    address DMZSERVER1 10.0.0.3/32;
    address DMZNS1PROXY 10.1.1.3/32;
    address TEAMSPEAKSERVER 10.0.0.4/32;
    }
    screen untrust-screen;
    host-inbound-traffic {
    system-services {
    https;
    http;
    dns;
    ping;
    }
    protocols {
    all;
    }
    }
    interfaces {
    vlan.10;
    }
    }

     

    Ideas anyone ?

     



  • 2.  RE: Virtual Router and Vlan Issues.. Ideas?
    Best Answer

    Posted 04-22-2015 15:40

    I think you are missing the step to add the interface to the virtual router.  If you don't assign the vlan.10 interface to any VR then it belongs to the root instance.



  • 3.  RE: Virtual Router and Vlan Issues.. Ideas?

    Posted 04-23-2015 00:37

    Thanks spulka!

     

    You pointed me into the right direction.. 

     

    It consipres I needed to remove the physical interface from the routing instance and add the vlan-id.

     

    eg

     

    dmz-vr {
    instance-type virtual-router;
    interface vlan.10;
    routing-options {
    static {
    route 0.0.0.0/0 next-table inet.0;

     

    Smiley LOL