07.04.2008
Vyatta Configuration
set interfaces ethernet eth0 address192.168.50.3/24 set interfaces ethernet eth1 address192.168.30.1/24 set service ssh protocol-version2 commit
set system host-name Branch1 set protocols staticroute 0.0.0.0/0 next-hop 192.168.50.1
set service nat rule 10 typemasquerade set service nat rule 10 source address 192.168.30.0/24 setservice nat rule 10 outbound-interface eth0 commit
set interfaces tunnel tun1 set interfaces tunnel tun1address 192.168.111.2/24 set interfaces tunnel tun1 description "IPIP Tunnelto HQ" set interfaces tunnel tun1 encapsulation ipip set interfaces tunneltun1 local-ip 192.168.50.3 set interfaces tunnel tun1 remote-ip192.168.50.2
set protocols ospf area 100 set protocols ospf area100 network 192.168.30.0/24 set protocols ospf area 100 network192.168.111.0/24 set protocols ospflog-adjacency-changes commit save
|