User Tools

Site Tools


multiple_ip_addresses_on_single_interface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
multiple_ip_addresses_on_single_interface [2023/11/13 17:24] – [The Better Method] walkeradminmultiple_ip_addresses_on_single_interface [2023/11/13 17:26] (current) – [The Better Method] walkeradmin
Line 185: Line 185:
 \\  \\ 
 \\  \\ 
-ip -br -c a+Using ip -br -c a to show the IP Addresses:
 \\  \\ 
 \\  \\ 
 eno1   UP   <color #ed1c24>192.168.1.223</color>/24 1<color #00a2e8>0.32.13.223</color>/24 <color #22b14c>130.1.0.233</color>/24 eno1   UP   <color #ed1c24>192.168.1.223</color>/24 1<color #00a2e8>0.32.13.223</color>/24 <color #22b14c>130.1.0.233</color>/24
 \\  \\ 
 +\\ 
 +If we perform an ip route:
 +\\ 
 +<file>
 +default via 192.168.1.1 dev eno1 proto static metric 101
 +10.32.13.0/24 dev eno1 proto kernel scope link src 10.32.13.223 metric 101
 +130.1.0.0/24 dev eno1 proto kernel scope link src 130.1.0.233 metric 101
 +192.168.1.0/24 dev eno1 proto kernel scope link src 192.168.1.223 metric 101
 +11.0.0.0/16 dev eno2 proto kernel scope link src 11.0.223.2 metric 102
 +</file>
 +We can see that the default route is still via **eno1**, and that the other alias IP Addresses are still going via **eno1**.
 +\\ 
 +\\ 
 +
  
  
  
multiple_ip_addresses_on_single_interface.1699896245.txt.gz · Last modified: 2023/11/13 17:24 by walkeradmin