Cisco Subinterfaces on 1841
Posted on 2007-03-25
I have a Cisco 1841 router that connects to a point-to-point T1 line. The T1 connects a branch office to the main office. The network at the main office is 10.1.1.0. The network at the branch office is 10.1.9.0. If you are on the network 10.1.9.0 you have access to all the network resources of the main office and you are unrestricted. However I would like to create a network 10.3.9.0 at the branch office as well. Anyone on this network will only have access to the internet and nothing else. I will accomplish this through access lists. Right now I have two separate vlans 91 and 93 setup as subinterfaces on the router. I noticed that the 1841 router supports vlans just like a catalyst switch. Should I use the subinterfaces or could I configure the router to use the vlans differently? Instead of having a subinterface I could have an interface vlan 91 and so on? Thanks for the help!
encapsulation dot1Q 91
ip address 10.1.9.254 255.255.255.0
encapsulation dot1Q 93
ip address 10.3.9.254 255.255.255.0