Your Opengear device has the ability to allocate an IP address for dedicated access to a specific serial or USB console port. Using this "alias" IP address, access to the console using configured access services (e.g. SSH) is available on the standard service port number (e.g. port 22).
This is particularly useful when combined with internal DNS, allowing you to access a console port via a convenient hostname based convention, e.g. via SSH to port1.og1.dc.corp.com, or oob.switch1.dc.corp.com.
Configure an IP alias for a single port
- Login to the Opengear web UI as root or an admin group user
- Click Serial & Network -> Serial Port -> Port x -> Edit
- Choose Console Server Mode, check the access services (e.g. SSH)
- Set one or more Interface IP Alias addresses to a unique address on the corresponding Internet subnet, e.g.:
- Set the Network Interface IP Alias to a unique address on the Network Interface subnet
- Use CIDR notiation, e.g.: 192.168.1.201/24
- Click Apply
Configure IP aliases for many or all ports
- Login to the Opengear web UI as root or an admin group user
- Click Serial & Network -> Serial Port -> Edit Multiple Ports
- At the top, unselect the ports you do not wish to assign aliases to
- Set one or more Interface IP Alias starting addresses to a unique starting address on the corresponding Internet subnet, e.g.:
- Set the Network Interface IP Alias to a unique address on the Network Interface subnet
- The first selected port will be assigned this IP address, with subsequent ports being assigned addresses sequentially
- Use CIDR notiation, e.g.: 192.168.1.201/24
- Click Apply
Notes
If both regular and unauthenticated access services are selected (e.g. both SSH and Unauthenticated SSH), the regular, authenticated access service takes precedence.
The Network Interface must not be left in the factory unconfigured state. DHCP or Static must be set,
Older firmware (pre-3.12.0) does not support configuring this feature via the web UI. However, advanced users may configure it using the /etc/scripts/serial-address CLI script.
Comments
0 comments
Article is closed for comments.