User`s guide

74 XgOS User’s Guide September 2014
Configure a Default Gateway
The following figure shows the topology of a default gateway.
Take the following steps to configure a default gateway:
1. From the hostserver, confirm the following entities are not reachable: default
gateway address, DNS server address, and domain name.
2. Issue the route command to confirm the server cannot reach the outside
network because you have not yet configured a default gateway.
Likewise ping 10.1.11.112 will fail in this example because the route is not yet
installed in the routing table.
3. On the Oracle Fabric Interconnect, add a server profile and vNIC:
4. Create a default-gateway profile. Specify the gateway-profile name, default
gateway IP address, DNS server IP address, and domain name:
cat /etc/resolv.conf
route
ping 10.1.11.112
add server-profile s23 thorne@connecticut:ServerPort22
add vnic test_1.s23 8/1
set vnic test_1.s23 -addr-type=static -ip-addr=10.1.10.111/24
add gateway test 10.1.10.112 1.1.1.1 testorg
show gateway test