I have an 871W.
I have a switch supporting:
VLAN 10 - general machines (10.0.*.*) VLAN 20 - special machines (10.1.*.*)
This is connected to an 871W router via a trunk line.
The router has:
-FastEthernet 0 defined as trunk line to the switch.
-Vlan 10 defined as bridge-group 10, no ip address
-BVI 10 defined with 10.0.0.2 (router's ip address)
-Dialer-1 defined to link to the ISP via PPPoE
-FastEthernet4 defined as the PPPoE output to a modem.
-DotRadio interfaces defined as bridge-group 10 and vlan 10.
and I have a : bridge irb bridge 10 protocol ieee bridge 10 route ip
So far, the router works fine to connect the wi-fi to the lan, and both to the internet, all within the confines of Vlan-10.
I would like the router to be given a new 10.1.0.2 interface and be able to route packets between the 10.0 subnet (VLAN 10) and 10.1 subnet (vlan
20) with each vlan served by the same trunk line.goal: allow a machine in vlan 10 to talk to a machine on vlan 20 (I used to use switchport multi on the switch to allow specific machines such access, and all machines were in same subnet).
Aka: packets from 10.0.0.20 travel as vlan 10 from the switch , via the trunk line to the router, then get routed to 10.1.0.5, encapsulated as VLAN 20 traveling back through the trunk line to the destination on the switch.
How do I do that ?
-what interface gets the 10.1.0.2 IP ? a new BVI one ? the vlan 20 ?
-how do I link this interface so that packets get routed at IP level ?
Or is the only way to use a separate ethernet interface, give that the ip address ? And in such a case, is the routing automatic or must I tie the interface to the bridge group, or must I add specific "IP route" commands ?
I note that the "Dialer 1" interface has no explicit attachement to the bridge group or VLAN. I assume that the router automatically makes all dialer interfaces available for routing.
I've seen examples where non-trunk ethernet interfaces were each given IPs in different subnets, but have not seen instances of trunk lines supporting different subnets in different vlans.