07.04.2008
Vyatta Configuration
set interfaces ethernet eth0 address 192.168.50.3/24 set interfaces ethernet eth1 address 192.168.30.1/24 set service ssh protocol-version 2 commit
set system host-name Branch1 set protocols static route 0.0.0.0/0 next-hop 192.168.50.1
set service nat rule 10 type masquerade set service nat rule 10 source address 192.168.30.0/24 set service nat rule 10 outbound-interface eth0 commit
set interfaces tunnel tun1 set interfaces tunnel tun1 address 192.168.111.2/24 set interfaces tunnel tun1 description "Gre Tunnel to HQ" set interfaces tunnel tun1 encapsulation gre set interfaces tunnel tun1 local-ip 192.168.50.3 set interfaces tunnel tun1 remote-ip 192.168.50.2
set protocols ospf area 100 set protocols ospf area 100 network 192.168.30.0/24 set protocols ospf area 100 network 192.168.111.0/24 set protocols ospf log-adjacency-changes commit save
|