Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Changing the MAc address to VLAN interface or how to SPLIT a routerin 2.

Reply
Thread Tools

Changing the MAc address to VLAN interface or how to SPLIT a routerin 2.

 
 
AM
Guest
Posts: n/a
 
      12-02-2006
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Differnce between setting mac address port security under theinterface vs. the mac address-table global command ttripp Cisco 5 02-05-2010 10:49 PM
why Stickly mac-address can't be used with "Voice Vlan" pvarulkumar Cisco 0 11-15-2008 03:00 PM
duplicate mac address one same vlan David Reinhart Cisco 1 02-20-2004 02:30 PM
duplicate mac address in same vlan David Reinhart Cisco 1 02-20-2004 12:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57