ip address add address=192.168.5.2/24 interface=ether1
ip address add address=192.168.111.1/24 interface=ether2
ip route add gateway=192.168.5.1
ip dns set primary-dns=8.8.8.8 secondary-dns=8.8.4.4
ip firewall nat add chain=srcnat action=masquarade out-interface=ether1
ip address add address=192.168.111.2/24 interface=ether1
ip address add address=192.168.112.1/24 interface=ether2
ip route add gateway=192.168.111.1
ip dns set primary-dns=8.8.8.8 secondary-dns=8.8.4.4
ip firewall nat add chain=srcnat action=masquarade out-interface=ether1
ip address add address=192.168.112.2/24 interface=ether1
ip address add address=192.168.113.1/24 interface=ether2
ip route add gateway=192.168.112.1
ip dns set primary-dns=8.8.8.8 secondary-dns=8.8.4.4
ip firewall nat add chain=srcnat action=masquarade out-interface=ether1
ip address add address=192.168.113.2/24 interface=ether1
ip address add address=192.168.114.1/24 interface=ether2
ip route add gateway=192.168.113.1
ip dns set primary-dns=8.8.8.8 secondary-dns=8.8.4.4
ip firewall nat add chain=srcnat action=masquarade out-interface=ether1
ip dhcp-server setup
ip hotspot setup
ip firewall nat add chain=dstnat action=redirect protocol=tcp-ip
suwun um inpone, ;)
ReplyDeletesalam blogger smik