...
Setting the hostname of the system
Setting the domain name of the system
Mapping the IP address of the system to its hostname
Setting the default gateway
Creating an alias for the system
...
Code Block | ||
---|---|---|
| ||
vyatta@vyatta# set system host-name R1 vyatta@vyatta# commit vyatta@vyatta# exit vyatta@vyatta:~$ configure vyatta@R1# set system domain-name mydomain.com vyatta@R1# set system static-host-mapping host-name R1 inet 10.0.0.65 vyatta@R1# set protocols static route 0.0.0.0/0 next-hop 172.16.0.254 vyatta@R1# set system static-host-mapping host-name R1 alias finance1 vyatta@R1# compare [edit system] +domain-name mydomain.com +static-host-mapping { + host-name R1 { + alias finance1 + inet 10.0.0.65 + } +} [edit] +protocols { + static { + route 0.0.0.0/0 { + next-hop 172.16.0.254 + } + } +} [edit] vyatta@R1# commit vyatta@R1# exit |
...