22.04.2008
Vyatta Configuration
set interfaces ethernet eth0 address 192.168.70.2/24 set interfaces ethernet eth1 address 192.168.40.1/24 set service ssh protocol-version 2 commit
set service nat rule 10 type masquerade set service nat rule 10 source address 192.168.40.0/24 set service nat rule 10 outbound-interface eth0
set system host-name Branch2 set protocols static route 0.0.0.0/0 next-hop 192.168.70.1 commit
set interfaces tunnel tun1 set interfaces tunnel tun1 address 192.168.121.2/30 set interfaces tunnel tun1 description "Gre Tunnel to HQ" set interfaces tunnel tun1 encapsulation gre set interfaces tunnel tun1 local-ip 192.168.70.2 set interfaces tunnel tun1 remote-ip 192.168.50.2
set protocols ospf area 100 set protocols ospf area 100 network 192.168.40.0/24 set protocols ospf area 100 network 192.168.121.0/30 set protocols ospf log-adjacency-changes commit save
|