[c-nsp] [Slightly OT]: Silly Question

Jerry Bacon wireless at starbeam.com
Wed Feb 9 18:00:38 EST 2011


On 2/9/2011 2:46 PM, Wil Schultz wrote:
> You're going to want to use sub-interfaces for both VLAN's, use "router on a stick" as your google-fu keywords.
>
>
> On Feb 9, 2011, at 2:28 PM, Tim Donahue wrote:
>> interface gigabitEthernet 0/0
>>   ip address 10.1.10.1 255.255.255.0
>> !
>> interface gigabitEthernet 0/0.20
>>   encapsulation dot1q 20
>>   ip address 10.1.20.1 255.255.255.0

I don't know about the 3845 specifically, but every Cisco router that I 
have worked with that does support sub-interfaces will work just fine 
with the above configuration. The gi0/0 will be the native VLAN and 
gi0/0.20 will be a tagged VLAN.

-- 
Jerry Bacon
Senior Network Engineer



More information about the cisco-nsp mailing list