Hello sir,
For now, I have all the IP blocks in a same VLan also as the IPMI ip Block.
But I'd like to seperate them and get one server - one ex4200 switch port - one vlan, in that vlan with multi IP blocks for that server.
Here is one example with one Ex4200,
I have a route trunk with the Ex4200.
from the router side interface is ae0.
root@router# show interfaces ae0
description "Trunk to EX4200";
vlan-tagging;
aggregated-ether-options {
minimum-links 1;
lacp {
active;
periodic fast;
}
}
unit 10 {
description "management for ex4200";
vlan-id 10;
family inet {
address 1xx.xxx.xxx.xx/30;
}
}
unit 100 {
description "default vlan";
vlan-id 100;
family inet {
address 1xx.0.16.1/27;
address 1xx.0.16.33/28;
address 1xx.0.17.1/27;
address 1xx.0.17.33/29;
address 1xx.0.20.1/29;
....
}
}
From the EX4200 side,
root@EX4200-01# show interfaces ae0
aggregated-ether-options {
minimum-links 1;
lacp {
active;
periodic fast;
}
}
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members all;
}
}
}
{master:0}[edit]
For other interfaces.
root@EX4200-01# show interfaces
interface-range xxx-router {
member ge-0/1/1;
member ge-0/1/0;
description "uplink to router (ae0)";
ether-options {
802.3ad ae0;
}
}
ge-0/0/0 {
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members default-vlan;
}
}
}
}
...
ge-0/0/7 {
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members default-vlan;
}
}
}
}
ge-0/0/8 {
ether-options {
speed {
100m;
}
}
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members default-vlan;
}
}
}
}
ge-0/0/9 {
description SERVER1;
ether-options {
speed {
100m;
}
}
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members default-vlan;
}
}
}
}
ge-0/0/10 {
description SERVER39;
mtu 1514;
ether-options {
auto-negotiation;
flow-control;
link-mode automatic;
speed {
100m;
}
}
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members default-vlan;
}
}
}
}
...
xe-0/1/0 {
unit 0 {
family ethernet-switching;
}
}
xe-0/1/1 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/2 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/3 {
unit 0 {
family ethernet-switching;
}
}
ae0 {
aggregated-ether-options {
minimum-links 1;
lacp {
active;
periodic fast;
}
}
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members all;
}
}
}
}
vlan {
unit 10 {
description ex4200-mgmt;
family inet {
address 1xx.xxx.xxx.xx/30;
}
}
}
{master:0}[edit]
root@EX4200-01# show vlans
default-vlan {
description default-vlan;
vlan-id 100;
}
ex4200-mgmt {
description ex4200-mgmt;
vlan-id 10;
l3-interface vlan.10;
}
So that I would like to change something like this for a server port.
Such as
ge-0/0/9 {
description SERVER1;
ether-options {
speed {
100m;
}
}
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members ipmi-vlan server1-vlan;
}
}
}
}
ge-0/0/10 {
description SERVER2;
ether-options {
speed {
100m;
}
}
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members ipmi-vlan server2-vlan;
}
}
}
}
root@EX4200-01# show vlans
ex4200-mgmt {
description ex4200-01-mgmt;
vlan-id 10;
l3-interface vlan.10;
}
ipmi-vlan {
description "IPMI VLan";
vlan-id 11;
}
server1-vlan {
description SERVER1;
vlan-id 101;
}
The router side will like
root@router# show interfaces ae0
description "Trunk to EX4200";
vlan-tagging;
aggregated-ether-options {
minimum-links 1;
lacp {
active;
periodic fast;
}
}
unit 10 {
description "management for ex4200";
vlan-id 10;
family inet {
address 1xx.xxx.xxx.xx/30;
}
}
unit 11{
description "ipmi for ex4200";
vlan-id 11;
family inet {
address 1xx.xxx.xxx.xx/27;
}
}
unit 101 {
description "vlan for SERVER 1";
vlan-id 101;
family inet {
address 1xx.0.16.1/27;
address 1xx.0.16.33/28;
#other address for SERVER 1
....
}
}
Thank you very much.