Re: IP assignment on Major Interface to SubInterface

From: paul cosgrove (paul.cosgrove@gmail.com)
Date: Sat Dec 06 2008 - 23:26:32 ARST


Hi Paul,

If I understand you correctly you are asking whether on a single interface,
you can assign an IP to the main interface, and also assign a second IP to a
sub inerface. That works fine. The main interface is treated as the native
vlan of the trunk so is sent untagged.

Paul

On Sat, Dec 6, 2008 at 8:19 PM, Paul Adams <ccie.paul@gmail.com> wrote:

> Hi,
>
> Is it possible to assign Ip address on major interface and sub-interface, [
> i.e assign ip for major and sub-interface for the same Interface ]
> If so ; then is the answer correct as per question
>
> Question :- Create Vlan_101 on sub interface of R1 and create Vlan_102 on
> major interface of R6. ( use Fa0/0 )
>
>
> vlan_101 = vlan 101
> vlan_102 = vlan 102
>
> R1(fa 0/0 ) is connected to SW1 fa 0/1
>
> *Solution*
>
> <<SW1 >>
> switchport trunk encapsulation dot1q
> switchport mode trunk
> switchport trunk allowed vlan 101,102
> switchport trunk native vlan 102
>
>
> <<R1>>
> interface fa 0/0
> ip address 192.168.1.102 255.255.255.0
>
> interface fa 0/0.17
> encapsulation dot1q 17
> ip address 192.168.101.1 255.255.255.248
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Thu Jan 01 2009 - 12:53:07 ARST