Network Assignment
Router-on-a-stick, VLSM subnetting, static routing, LAN security, DHCP, EtherChannel and SSH.
Task 1 โ Router on a Stick
Create sub-interfaces on Newton and Einstein for VLANs 10 and 20 using dot1Q trunking.
Assigns 99.0.0.1 to Newton's WAN-facing port. Without this the two routers cannot communicate at all.
interface GigabitEthernet0/0/0 ip address 99.0.0.1 255.255.255.0 no shutdown
Assigns 99.0.0.2 to Einstein's WAN-facing port, completing the point-to-point WAN link.
interface GigabitEthernet0/0/0 ip address 99.0.0.2 255.255.255.0 no shutdown
Router-on-a-stick: one physical cable to Heisenberg carries both VLANs. dot1Q encapsulation tags traffic so the router separates them logically into two sub-interfaces.
interface GigabitEthernet0/0/1 no shutdown interface GigabitEthernet0/0/1.10 encapsulation dot1Q 10 ip address 172.16.0.1 255.255.255.252 no shutdown interface GigabitEthernet0/0/1.20 encapsulation dot1Q 20 ip address 172.16.0.5 255.255.255.252 no shutdown
Fa0/6โ12 assigned to VLAN 10, Fa0/13โ18 to VLAN 20. Fa0/5 is the trunk port carrying both VLANs tagged up to Newton on one cable.
vlan 10 name VLAN10 vlan 20 name VLAN20 interface range FastEthernet0/6 - 12 switchport mode access switchport access vlan 10 no shutdown interface range FastEthernet0/13 - 18 switchport mode access switchport access vlan 20 no shutdown interface FastEthernet0/5 switchport mode trunk switchport trunk allowed vlan 10,20 no shutdown
PC0 gets the only remaining /30 address after Newton takes .1. Connected to Heisenberg Fa0/6 (VLAN 10).
| Field | Value |
|---|---|
| IP Address | 172.16.0.2 |
| Subnet Mask | 255.255.255.252 |
| Default Gateway | 172.16.0.1 |
Same as Step 5 but using Einstein's /28 subnets โ 14 usable hosts per subnet compared to Newton's tight /30.
interface GigabitEthernet0/0/1 no shutdown interface GigabitEthernet0/0/1.10 encapsulation dot1Q 10 ip address 192.168.0.1 255.255.255.240 no shutdown interface GigabitEthernet0/0/1.20 encapsulation dot1Q 20 ip address 192.168.0.17 255.255.255.240 no shutdown
Mirror of Heisenberg. VLAN 10 on Fa0/6โ12, VLAN 20 on Fa0/13โ18, trunk on Fa0/5 to Einstein.
vlan 10 name VLAN10 vlan 20 name VLAN20 interface range FastEthernet0/6 - 12 switchport mode access switchport access vlan 10 no shutdown interface range FastEthernet0/13 - 18 switchport mode access switchport access vlan 20 no shutdown interface FastEthernet0/5 switchport mode trunk switchport trunk allowed vlan 10,20 no shutdown
PC1 connects to Schrodinger Fa0/18 (VLAN 20). Einstein's sub-interface holds .17, so PC1 gets .18.
| Field | Value |
|---|---|
| IP Address | 192.168.0.18 |
| Subnet Mask | 255.255.255.240 |
| Default Gateway | 192.168.0.17 |