echo ‘{ “update_nics”: { [ “mac”: “<MACofLANnic>”, “allow_ip_spoofing”: true 
]}}’ | vmadm update <ROUTER_VM_UUID>

That should do it.


John Barfield

On May 13, 2018, at 11:30 AM, smartos-discuss 
<[email protected]<mailto:[email protected]>> 
wrote:

This is a digest of messages to smartos-discuss.
Digest Contents

  1.  Probably a really lame networking question . . . .

Probably a really lame networking question . . . 
.<https://www.listbox.com/member/archive/184463/2018/05/20180513120947:0CF91D4C-56C8-11E8-B3A1-83C5F6BD5F15>

Sent by [email protected]<mailto:[email protected]> at Sun, 13 May 2018 
12:09:34 -0400

Hi In my GZ I created an isolated etherstub: stub0 I have four VMs on stub0, 
one host acting as an IP router with addresses 192.168.11.1/24, 192.168.12.1/24 
and 192.168.13.1/24 and three hosts using 192.168.11.2, 192.168.12.2 and 
192.168.13.2 The three hosts all have gateways set to the corresponding IP on 
the router. On the router VM I have enabled ipv4-routing and ipv4 forwarding. 
root@rtr ~]# netstat -nr Routing Table: IPv4 Destination Gateway Flags Ref Use 
Interface -------------------- -------------------- ----- ----- ---------- 
--------- 127.0.0.1 127.0.0.1 UH 2 0 lo0 192.168.11.0 192.168.11.1 U 3 1 net0 
192.168.12.0 192.168.12.1 U 3 1 net1 192.168.13.0 192.168.13.1 U 3 75 net2 
[root@host11 ~]# ipadm show-addr net0/_a ADDROBJ TYPE STATE ADDR net0/_a 
from-gz ok 192.168.11.2/24 [root@host11 ~]# cat /etc/defaultrouter 192.168.11.1 
[root@host11 ~]# ping 192.168.11.1 192.168.11.1 is alive [root@host11 ~]# ping 
192.168.12.1 no answer from 192.168.12.1 So I can ping the gateway IP but no 
further. I was under the impression that I just needed to enable 
routing(because the router doesn't have a default gateway set) and forwarding 
on the router VM. Like the subject states this may be a face-palm moment but 
what am I missing? Kevin Ratcliffe Sent from [ProtonMail](https://protonmail.ch)



smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> 
| Modify<https://www.listbox.com/member/?> Your Subscription   
[https://www.listbox.com/images/listbox-logo-small.png] <http://www.listbox.com>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125
Powered by Listbox: http://www.listbox.com

Reply via email to