PARA ONUS REV1


IP FIXO


conf t

!

nat-rule masquerade ip any any change-source-to interface-address

!

vlan database

 vlan 10

!

interface vlan10

 ip address 192.168.10.2/30

 ip nat masquerade out

 no shutdown

!

ip route 0.0.0.0/0 192.168.10.1

!

end

copy r s



IP DHCP CLIENT


conf t

!

nat-rule masquerade ip any any change-source-to interface-address

!

vlan database

 vlan 10

!

interface vlan10

 ip address dhcp default-route

 ip nat masquerade out

 no shutdown

!

end

copy r s




PARA ONUS REV2 e REV3



IP FIXO

conf t

!

nat-rule masquerade ip any any change-source-to interface-address

!

interface interface virtual-ethernet0/0/0.10

ip address 192.168.10.2/30 

ip nat masquerade out

no shutdown

!

ip route 0.0.0.0/0 192.168.10.1 

!

end

copy r s



IP DHCP CLIENT



conf t

!

nat-rule masquerade ip any any change-source-to interface-address

!

interface virtual-ethernet0/0/0.10

 ip address dhcp default-route

 ip nat masquerade out

 multicast

 no shutdown

!

end

copy r s