拓扑图
IP地址表
设备 | IP地址 | 网关) |
---|---|---|
PC A | 10.0.0.2/24 | 10.0.0.1 |
PC B | 10.0.1.2/24 | 10.0.1.1 |
PC C | 192.168.3.2/24 | 192.168.3.1 |
RTA | G0/0 | 10.0.0.1/24 |
S1/0 | 192.168.1.1/30 | |
G0/1 | 10.0.1.1/24 | |
RTB | S1/0 | 192.168.1.2/30 |
S2/0 | 192.168.2.1/30 | |
RTC | G0/0 | 192.168.3.1/24 |
S2/0 | 192.168.2.2/30 |
RTA
[RTA]int GigabitEthernet 0/0
[RTA-GigabitEthernet0/0]ip address 10.0.0.1 24
[RTA-GigabitEthernet0/0]int s1/0