Setting up Virtual IP Addresses
Feature Name |
Release Information |
Description |
---|
Interfaces configured on IOS XR are programmed into the Linux kernel. These interfaces allow Linux applications to run as if they were running on a regular Linux system. This packet I/O capability ensures that off-the-shelf Linux applications can be run alongside IOS XR, allowing operators to use their existing tools and automate deployments with IOS XR.
The IP address on the Linux interfaces, MTU settings, MAC address are inherited from the corresponding settings of the IOS XR interface. Accessing the global VRF network namespace ensures that when you issue the bash command, the default or the global VRF in IOS XR is reflected in the kernel. This ensures default reachability based on the routing capabilities of IOS XR and the packet I/O infrastructure.
You can run bash commands at the IOS XR router prompt to view the interfaces and IP addresses stored in global VRF. When you access the Cisco IOS XR Linux shell, you directly enter the global VRF.
Procedure
Step 1 |
From your Linux box, access the IOS XR console through SSH, and log in. Example:
|
||
Step 2 |
View the ethernet interfaces on IOS XR. Example:
|
||
Step 3 |
Check the IP and MAC addresses of the interface that is in Example:
|
||
Step 4 |
Verify that the bash command runs in global VRF to view the network interfaces. Example:
The |
||
Step 5 |
Access the Linux shell. Example:
|
||
Step 6 |
(Optional) View the IP routes used by the Example:
|