Greetings,
I seen a configuration with eth0 having multiple IPs
Are these IPs consider secondary address? I am unable to any documentation on this topic.
Thanks in advance.
-Jerome
Greetings,
I seen a configuration with eth0 having multiple IPs
Are these IPs consider secondary address? I am unable to any documentation on this topic.
Thanks in advance.
-Jerome
Yup they are considered secondary addresses. But Im pretty certain, I can’t remember off the top of my head. But you can specify them without having to specify “secondary”.
From memory, you can specify a “preferred” or “primary” address from your list.
Sorry, I havn’t been running Vyatta or VyOS or EdgeOS for a month now. But can confirm later. But if its like JunOS, which it’s based on. Then yup.
Unlike Cisco, VyOS does not specify a secondary IP explicitly. Just repeat the command to enter the IPs.
interface serial0/0/0
ip address 10.10.0.1 255.255.255.0
ip address 10.20.0.1 255.255.255.0 secondary
ip address 10.30.0.1 255.255.255.0 secondary
set interface ethernet eth0 address ‘10.10.0.1/24’
set interface ethernet eth0 address ‘10.20.0.1/24’
set interface ethernet eth0 address ‘10.30.0.1/24’
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.