Subneteo & DHCP

Router A

Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int s0/0/0
R1(config-if)#ip address 135.126.0.97 255.255.255.224
R1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#int s0/0/1
R1(config-if)#ip address 135.126.0.129 255.255.255.224
R1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R1(config-if)#int g0/0
R1(config-if)#ip address 135.126.0.65 255.255.255.224
R1(config-if)#ip helper-address 192.168.1.2
R1(config-if)#no shut
R1(config-if)#exit
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
R1(config-if)#int g0/1
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 135.126.0.64
R1(config-router)#network 135.126.0.96
R1(config-router)#network 135.126.0.128
R1(config-router)#network 192.168.1.0
R1(config-router)#No auto-sumary
R1(config-router)#exit

Router B

Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int s0/0/0
R2(config-if)#ip address 135.126.0.98 255.255.255.224
R2(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R2(config-if)#int g0/0
R2(config-if)#ip address 135.126.0.1 255.255.255.224
R2(config-if)#ip helper-address 192.168.1.2
R2(config-if)#no shut
R2(config-if)#exit
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 135.126.0.0
R2(config-router)#network 135.126.0.96
R2(config-router)#No auto-sumary
R2(config-router)#exit

Router C

Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R3
R3(config)#int s0/0/0
R3(config-if)#ip address 135.126.0.128 255.255.255.224
R3(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R3(config-if)#int g0/0
R3(config-if)#ip address 135.126.0.32 255.255.255.224
R3(config-if)#ip helper-address 192.168.1.2
R3(config-if)#no shut
R3(config-if)#exit
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#network 135.126.0.32
R3(config-router)#network 135.126.0.128
R3(config-router)#No auto-sumary
R3(config-router)#exit

Servidor DHCP



Comentarios

Entradas populares