[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring the Virtual IP Address (SRC CLI)
You can configure the virtual IP address
on the loopback interface.
To configure the virtual IP address:
- From configuration mode, access the configuration statement
that configures logical interface 1 for the loopback interface.
- [edit]
- user@host# edit interfaces lo unit 1
- Specify the protocol family and virtual IP address.
- [edit interfaces lo unit 1]
- user@host# set family (inet | inet6) address address
For example, to configure a virtual IPv4
address:
- [edit interfaces lo unit 1]
- user@host# set family inet address 198.168.254.1/24
- Verify the interface configuration.
[edit interfaces lo unit 1]
user@host# show
family {
inet {
address 198.168.254.1/24;
}
}
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]