Inter-VLAN routing question

Hello Amigos,

Quick question: when configuring Inter-VLAN routing on a 2600 router, do we have to issue a no ip address for the interface receiving the ISL / dot1q trunk? Example from book:
#int f0/0
#no ip address
# no shutdown
# int f0/0.1
# encapsulation dot1q 1
# ip address 172.16.10.1 255.255.255.128

Or this will be fine too?:

# int f0/0.1
# encapsulation dot1q 1
# ip address 172.16.10.1 255.255.255.128

Thanks!

Comments

  • steve-o87steve-o87 Member Posts: 274

    Or this will be fine too?:

    # int f0/0.1
    # encapsulation dot1q 1
    # ip address 172.16.10.1 255.255.255.128
    

    Thanks!
    I would go with this answer - you would set up the trunk using sub-interfaces and put them on different subnets :)
    I am the lizard King. I can do anything.
  • david_rdavid_r Member Posts: 112
    They are both fine and correct.

    The book example makes sure that there isn't an ip address on the physical interface and to enable the interface that is disabled by default. I would hazard a guess that the author always throws in "no ip address" when moving to a logical interface.

    However, if you are comfortable showing the configuration and removing what needs to be removed and enabling what needs to be enabled, there is nothing wrong with the second way. That's how I usually do it.
  • hectorjhrdzhectorjhrdz Member Posts: 127
    only avoid to set any ip adress at the interface, if is used trunking.
    otherwise you will have problems with the trunk.

    whatever, if you don´t set any addres in the interface when you perform sh run command , you'll see the line "no ip address".
  • macwhizardmacwhizard Member Posts: 66 ■■□□□□□□□□
    when configuring Inter-VLAN routing on a 2600 router....

    icon_confused.gif: icon_confused.gif: icon_confused.gif: icon_confused.gif:

    I have a 2600, running IOS 12.2, there isn't any encapsulation command, so can't create a trunk port icon_exclaim.gificon_exclaim.gificon_exclaim.gif . Cybex CCNA ver5 book mentions inorder to create a trunk port, the router must have atleast a Fast Ethernet port. I was wondering how you guys managed to get it.
  • agustinchernitskyagustinchernitsky Member Posts: 299
    Your 2600 doesn't have a fa interface?
  • pr3d4t0rpr3d4t0r Member Posts: 173
    Your 2600 doesn't have a fa interface?

    icon_eek.gificon_eek.gificon_eek.gif

    Is this possible ?
  • agustinchernitskyagustinchernitsky Member Posts: 299
    I thought they came with a fixed fast ethernet interface... or at least a module that has one icon_eek.gif
  • macwhizardmacwhizard Member Posts: 66 ■■□□□□□□□□
    I thought they came with a fixed fast ethernet interface... or at least a module that has one icon_eek.gif

    Seems, it doesn't have one.... or is it the IOS ?.
Sign In or Register to comment.