Tutorials Vyatta DHCP Case Study Vyatta A Config
protocols {
}
policy {
}
interfaces {
     loopback lo {
     }
     ethernet eth0 {
          hw-id: 00:02:99:99:99:99
          address 10.0.1.2 {
               prefix-length: 24
          }
     }
     ethernet eth1 {
          hw-id: 00:02:11:22:33:44
          address 10.0.2.2 {
               prefix-length: 24
          }
     }
}
service {
     dhcp-relay {
          interface eth0
          interface eth1
          server 10.0.2.1
     }
     telnet {
     }
}
firewall {
}
system {
     host-name: "Vyatta-RouterB"
     ntp-server "69.59.150.135"
     login {
          user root {
               authentication {
                    encrypted-password: "$1$$Ht7gBYnxI1xCdO/JOnodh."
               }
          }
          user vyatta {
               authentication {
                    encrypted-password: "$1$$Ht7gBYnxI1xCdO/JOnodh."
               }
          }
     }
     package {
          repository community {
               component: "main"
               url: "http://archive.vyatta.com/vyatta"
          }
     }
}
rtrmgr {
     config-directory: "/opt/vyatta/etc/config"
}