I asked a question not too many hours ago about multiple router interfaces on one network, and I think I have now established what I need to do, however I do not understand how to implement it.
For me to be able to have multiple interfaces on one network, I need to have a switch HWIC, and the HWIC-4ESW seems to be what I need, however aside from having multiple interfaces on one network I also need to have more interfaces which I can assign different IP addresses to for multiple networks (the 2811 I am using is the only router I have and I use it with multiple startup-configs depending on what I an messing with).
This is where the root of the problem lies. As the HWIC-4ESW is a Layer 2 Switch HWIC, it is impossible to assign each port separately an IP address directly like you would the built in FastEthernet interfaces on the router. What you instead have to do is assign each port its own VLAN and then put an IP address on each VLAN. From what I can see, having each port on its own VLAN and assigning an IP to that VLAN makes the port 'technically' Layer 3, the VLAN giving the Layer 2 port the 'extra layer' so to say. If I want to then put multiple ports on the same network, I simply put two or more ports on one VLAN and assign that VLAN an IP address, 'technically' making 2 interfaces on the same network. Please, correct me if any information in this paragraph is wrong.
The main issue with the above paragraph is the actual creation of the VLANs. I wanted to simply put
switchport mode access vlan 100 on each interface I want to be together, than assign an IP to the VLAN with
interface vlan 100
ip address x.x.x.x 255.255.255.0 however
switchport does not work on a 2811 because quite obviously it's not a switch. Its a router. So does the
switchport option and the
interface vlan option become available when I install the HWIC-4ESW, or do I now have to start talking about subinterfaces...
From my original question, I see I may have to work with subinterfaces to assign VLANs to the ports on the HWIC-4ESW. And I haven't a clue where to even begin with this.
As a newbie I am picking things up fast, but with this I am completely stumped. I don't want to spend money on an HWIC-4ESW only to find I haven't a clue how to configure it the way I want it to work: In one instance as 4 separate 'technically' Layer 3 ports, and in the other assign two or more of its ports to a VLAN to have multiple interfaces on one network.