Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Config of INTERNET in NAT lab
- #
- # Management in EVE-NG:
- /ip dhcp-client
- add dhcp-options=hostname,clientid disabled=no interface=ether1
- /system identity
- set name=INTERNET
- /tool romon
- set enabled=yes
- # Addresses:
- /ip address
- add address=10.1.0.1/30 interface=ether2 network=10.1.0.0
- add address=10.1.0.5/30 interface=ether3 network=10.1.0.4
- add address=10.2.0.1/24 interface=ether4 network=10.2.0.0
- # DHCP for PC2
- /ip pool
- add name=dhcp_pool0 ranges=10.2.0.2-10.2.0.254
- /ip dhcp-server
- add address-pool=dhcp_pool0 disabled=no interface=ether4 name=dhcp1
- /ip dhcp-server network
- add address=10.2.0.0/24 gateway=10.2.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement