Hi guys,
do you know if I can change the MAC address associated to a VLAN interface.
In my 877 I created 3 VLAN further the default one. I associated each VLAN to a specific FastEthernet interface. I created 2 VRF groups and put 2 VLAN interfaces in first one and the others 2 in the second VRF group.
Than I decided that one interface of each VRF groups had to be connected to same LAN segment. I got no problems on assigning 2 IP belonging to the same network because of th VRF settings. But the problem is that one of the 2 doesn't work because it shares the same MAC address of the other one.
Below the config and the VLAN database so you can have a clearer idea of what I set up
! version 12.4 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname 2-VRFs ! boot-start-marker boot-end-marker ! ! no aaa new-model ! resource policy ! ip cef ! ! ! ! ip vrf SERVERS rd 1:2 ! ip vrf WIRELESS rd 1:1 ! interface ATM0 no ip address shutdown no atm ilmi-keepalive dsl operating-mode auto ! interface FastEthernet0 ! interface FastEthernet1 switchport access vlan 2 ! interface FastEthernet2 switchport access vlan 21 mac-address 0017.94a0.6046 ! interface FastEthernet3 switchport access vlan 22 ! interface Vlan1 ip address 192.168.200.153 255.255.255.0 ! interface Vlan21 ip vrf forwarding SERVERS ip address 192.168.200.152 255.255.255.0 ! interface Vlan22 ip vrf forwarding SERVERS ip address 192.168.69.254 255.255.255.128 ! interface Vlan2 ip address 10.0.0.2 255.255.255.248 ! ! ! no ip http server no ip http secure-server ! ! ! ! ! control-plane ! ! line con 0 no modem enable line aux 0 line vty 0 4 ! scheduler max-task-time 5000 end
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
2-VRFs#sh vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0
2 TO-WIRELESS1 active Fa1
21 NATIVE-2 active Fa2
22 TO-SERVERS1 active Fa3
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
2 enet 100002 1500 - - - - - 0 0
21 enet 100021 1500 - - - - - 0 0
22 enet 100022 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
I saw that I can change the MAC-address of the FastEthernet interfaces but I think that is for STP purposes. My project is to have 2 "2-Ethernet interfaces" routers visible on the same LAN segment. Obviously that environment is just for testing purposes.
Any ideas?
Alex.