Logical Interfaces
up2thetime
Member Posts: 154
in Juniper
Hey,
Just a quick question on logical units...
I created some olives and linked them directly via their em2 interface.
Here is the config of R1:
show interfaces em2
vlan-tagging;
unit 100 {
vlan-id 100;
family inet {
address 10.1.1.1/24;
}
}
unit 200 {
vlan-id 200;
family inet {
address 172.16.1.1/24;
}
}
Here is the config of R2:
show interfaces em2
vlan-tagging;
unit 100 {
vlan-id 100;
family inet {
address 10.1.1.2/24;
}
}
unit 200 {
vlan-id 200;
family inet {
address 172.16.1.2/24;
}
}
Here is what I don't understand...
R2 can successfully ping 10.1.1.1 and 172.16.1.1, however, R1 can only ping 10.1.1.2 successfully. When R1 tries 172.16.1.2, it does not get a response.
Am I missing something...
I understand that each router will send tagged frames over to the other since I have configured vlan-tagging and set the vlad-id, however I don't understand why R1 cannot reach 172.16.1.2. These are two olives with their em2 connected via the same VMNET.
Thanks!
Just a quick question on logical units...
I created some olives and linked them directly via their em2 interface.
Here is the config of R1:
show interfaces em2
vlan-tagging;
unit 100 {
vlan-id 100;
family inet {
address 10.1.1.1/24;
}
}
unit 200 {
vlan-id 200;
family inet {
address 172.16.1.1/24;
}
}
Here is the config of R2:
show interfaces em2
vlan-tagging;
unit 100 {
vlan-id 100;
family inet {
address 10.1.1.2/24;
}
}
unit 200 {
vlan-id 200;
family inet {
address 172.16.1.2/24;
}
}
Here is what I don't understand...
R2 can successfully ping 10.1.1.1 and 172.16.1.1, however, R1 can only ping 10.1.1.2 successfully. When R1 tries 172.16.1.2, it does not get a response.
Am I missing something...
I understand that each router will send tagged frames over to the other since I have configured vlan-tagging and set the vlad-id, however I don't understand why R1 cannot reach 172.16.1.2. These are two olives with their em2 connected via the same VMNET.
Thanks!
Comments
-
ccie14023 Member Posts: 183You're not missing anything. It should work. Maybe something with the Olive image you are running. I even configured it in my lab just to make sure I wasn't completely losing it (or missing something totally obvious) but it worked fine for me exactly as shown.
-
up2thetime Member Posts: 154Excellent! Thank you for trying it out! Yeah that was confusing me. Good to know the config was right!