Tag Archives: routing instance

JNCIP-SEC [ 2 – Virtualization ]

According to exam topics I will focus on routing instances, routing between instances and filter based forwarding. Lets get started;

Routing Instances

Routing instances may be considered to be virtual routers within a physical router configured like below. I have two virtual routers configured each of which inherits one interface from physical router.  In configuring these instances, be careful that these interfaces must belong to different zones since two interfaces cannot be in the same zone while they are in different routing instances.

[edit]
root@host# show routing-instances
RA {
    instance-type virtual-router;
    interface vlan.100;
}
RB {
    instance-type virtual-router;
    interface vlan.200;
}
To display routing tables on both routing instances;
[edit]
root@host# run show route table RA.inet.0
RA.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, – = Last Active, * = Both
10.1.100.0/24      *[Direct/0] 00:02:20
                    > via vlan.100
10.1.100.2/32      *[Local/0] 00:02:20
                      Local via vlan.100
[edit]
root@host# run show route table RB.inet.0
RB.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, – = Last Active, * = Both
10.1.200.0/24      *[Direct/0] 01:26:36
                    > via vlan.200
10.1.200.2/32      *[Local/0] 01:27:20
                      Local via vlan.200
[edit]
root@host# run show route table inet.0
inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)
+ = Active Route, – = Last Active, * = Both
0.0.0.0/0          *[Static/5] 01:34:52
                    > to 172.30.72.1 via ge-0/0/0.0
10.1.10.0/24       *[Direct/0] 01:13:41
                    > via vlan.10
10.1.10.1/32       *[Local/0] 01:13:41
                      Local via vlan.10
10.1.20.0/24       *[Direct/0] 01:13:41
                    > via vlan.20
10.1.20.1/32       *[Local/0] 01:13:41
                      Local via vlan.20
172.30.72.0/23     *[Direct/0] 01:34:52
                    > via ge-0/0/0.0
172.30.72.244/32   *[Local/0] 01:34:52
                      Local via ge-0/0/0.0
192.168.1.0/24     *[Direct/0] 00:26:17
                    > via ge-0/0/1.0
192.168.1.1/32     *[Local/0] 00:26:17
                      Local via ge-0/0/1.0
192.168.3.0/24     *[Direct/0] 00:04:43
                    > via ge-0/0/3.0
192.168.3.1/32     *[Local/0] 00:04:43
                      Local via ge-0/0/3.0