Good evening, ask this question, of nowhere, in fact, but all the same:
There are, for example, multiple servers with OS standing the LAN.
Each, as it should be the two network interfaces
For example:
[root@satest /usbkey]# dladm show-phys -m
LINK SLOT ADDRESS INUSE CLIENT
rge0 primary a0:f3:c1:10:66:8f yes rge0
bge0 primary d4:ae:52:d2:4c:ef yes bge0
1) Global Interface
"Network Interfaces": {
"rge0": {"MAC Address": "a0:f3:c1:10:66:8f", "ip4addr": "IP here",
"Link Status": "up", "NIC Names": ["admin"]},
With this all clear
2) When I, according to the documentation:
https://wiki.smartos.org/display/DOC/Managing+NICs
trying to assign the address of the second network card, writing settings
in /usbkey/config
That's the way:
external_nic=d4:ae:52:d2:4c:ef
external0_ip=10.21.1.200
external0_netmask=255.255.254.0
external0_network=
external0_gateway=10.21.1.254
After the reboot, I get the following:
external0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 3
inet 10.21.1.200 netmask fffffe00 broadcast 10.21.1.255
ether 2:8:20:36:bf:1d
"bge0": {"MAC Address": "d4:ae:52:d2:4c:ef", "ip4addr": "", "Link
Status": "up", "NIC Names": ["external"]}
},
"Virtual Network Interfaces": {
"external0": {"MAC Address": "02:08:20:36:bf:1d", "ip4addr":
"10.21.1.200", "Link Status": "up", "Host Interface": "bge0", "VLAN": "0"}
That is logical, but this address is not available from the local network
in general
[root@gw /usr/home/admin]# ping 10.21.1.200
PING 10.21.1.200 (10.21.1.200): 56 data bytes
^C
--- 10.21.1.200 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
Actually two questions:
1) What have I missed why not see the LAN
2) How can I re-read the configuration /usbkey/config without rebooting the
host?
--
With best regards,
Vyacheslav Yakushev,
Unix system administrator
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com