Jul 8
vyatta 6 - how to router
Sigh.. while setting up a new Vyatta from scratch today, I have noticed that version 6 is quite different from the old one. Therefore, I have to record all new nat commands here as for my future reference:
1)DHCP SERVER
- #set service dhcp-server shared-network-name ZEN-USER subnet 192.168.1.0/24 start 192.168.1.100 stop 192.168.1.200
- #set service dhcp-server shared-network-name ZEN-USER subnet 192.168.1.0/24 default-router 192.168.1.241
- #set service dhcp-server shared-network-name ZEN-USER subnet 192.168.1.0/24 dns-server 10.1.1.10
2)NAT
- #set nat source rule 5 outbound-interface eth0
- #set nat source rule 5 source address 192.168.1.0/24
- #set nat source rule 5 translation address masquerade
- #show nat source
- #commit
- #save
ariyossss
No Comments
Leave a comment
