Tuesday, October 18, 2005

assign IP addrs on Juniper M/T router REs

[edit groups re0 interfaces fxp0]
description "## mgmt port on RE-0 ##";
unit 0 {
family inet {
address 192.168.100.1/24;
}
}

[edit groups re1 interfaces fxp0]
description "## mgmt port on RE-1 ##";
unit 0 {
family inet {
address 192.168.100.2/24;
}
}

[edit interfaces fxp0]
apply-groups [ re0 re1 ];

3 comments:

Anonymous said...

Could you please give me some hint why you write this on your blog ? Thanks

Yulin Chang said...

Because I have two (2) REs and I like to plug their management ethernet ports into same switch/HUB. If I don't assign different IPs to these two REs, I will not able to access them through telnet to fxp0.

Yulin Chang said...

Oh, and I wrote this for memo. :p