How to change ip address for Solace VMR? - solace

After setting up the solace vmr, it automatically gives you a default ip address. I have tried to change it through:
enable > configure > ip vrf management > interface intf0 static > ip-address xxx.xxx.xxx.xxx/xx
But after I do
show ip vrf management
nothing is changed.

Prior to version 8.1 of the VMR, it was possible to change the static IP address through the CLI as you have described. The last step is to disable DHCP to allow for the new static IP address to take effect.
The full steps for changing the IP in VMR versions 8.0 and earlier are:
Log into the VMR as sysadmin through the VM console.
Enter the following command to enter the Solace router CLI:
[support#solace ~]$ solacectl cli
Enter the following commands:
System Software. SolOS-TR Version 7.2.x.x
Virtual Message Router (Message Routing Node)
Copyright 2004-2017 Solace Corporation. All rights reserved.
ip-172-31-2-108> enable
ip-172-31-2-108# configure
ip-172-31-2-108(configure)# ip vrf management
ip-172-31-2-108(configure/ip/vrf)# interface intf0:1
ip-172-31-2-108(configure/ip/vrf/interface)# ip-address <ip-address/xx>
ip-172-31-2-108(configure/ip/vrf/interface)# exit
ip-172-31-2-108(configure/ip/vrf)# route default <ip-address>
ip-172-31-2-108(configure/ip/vrf)# no dhcp
The new static IP address will take effect immediately.
In versions 8.1 and later of the VMR, it is not possible to change the IP using the CLI. The IP must be configured on the host or through the cloud provider.

Related

Home Assistant Mosquitto - What can I use as MQTT broker address?

I'm using Home Assistant OS as a Virtualbox in Windows 10. I'm accessing it via homeassistant.local:8123. So I'm trying to configure my Mosquitto broker in Home Assistant. It wants to know my broker address. I'm guessing I need to use an ip. Where do I find this? Should I use localhost, 127.0.0.1, homeassistant.local or maybe an unused ip like 192.168.1.99 from my router?
If you are following this page, I find it is a bit misleading. Hope the following steps help you.
Install mosquitto (broker)
Suggest follow official github doc to configure mosquitto addon; (This step doesn't require IP configure)
Configure client integration within home assistant
Refer to here for your client integration, use localhost for your ha integration to connect your mosquitto broker;
Configure MQTT client outside home assistant
you need to find the exposed IP of your mosquitto broker, in your case, it shall be your VM's IP.

How do I change the IP address that Node-RED is hosted on?

I've been trying to configure Node-RED running locally at http://localhost:1880 to run on a static IP address that I would configured via my router's "DHCP Static IP Configuration" so that Node-RED could be accessible within the entire LAN.
How would I go about changing the IP address that Node-RED is hosted on, cause I haven't seemed to find any resources for it.
Would love to know the exact approach of running Node-RED on a LAN via a router; like should the static IP address be assigned to a particular device with a specific MAC address or can Node-RED reside on the router itself.
By default Node-RED binds to 0.0.0.0 which is the shortcut to say bind to all available interfaces (the log says to access via http://localhost:1880 because this will always be available). You should find that if you know the IP address of the machine running Node-RED and you enter http://ip-address:1880 from another machine on your LAN it should connect to the Node-RED editor.
You can change this bind address in the settings.js file (found in the userDir which is logged early on when Node-RED starts and is by default in ~/.node-red on a Linux/Unix machine). You can uncomment the uiHost line and change the IP address to what ever the static IP address of your host machine is. Under 99.9% of circumstances you should not do this and just leave it as the default 0.0.0.0
As for how you set your device that is hosting Node-RED to have a fixed IP address, that will be entirely dependent on the type of router you have, but usual approach would be to set the routers built in DHCP server to just asign a static IP address to that device as identified by it's MAC address. This means that you do not need to change anything on the device.
It is unlikely you will be able (or want) to to run Node-RED actually on your router, most home (or enterprise) routers are specialist devices and running a programming environment like Node-RED on them is really not a good idea from a security point of view unless you 110% know what you are doing.
Speaking of security, make sure you enable adminAuth in your settings.js before setting up any port forwarding on the router to expose Node-RED to the outside world. An unsecured Node-RED editor is likely to be quickly scanned by something like Shodan and promptly ushttps://nodered.org/docs/user-guide/runtime/securing-node-reded to host Crypto mining or much worse. Read the following carefully https://nodered.org/docs/user-guide/runtime/securing-node-red

how to assign IP address into a newly created VMware from esxi commandline

I have done the following steps:
created a new VM:
--> vim-cmd solo/registervm test_vm.vmx
powering on the VM
--> im-cmd vmsvc/power.on
Now I want to assign the IP address into this VM from the ESXI console. how can I do it. I do not want to use GUI.
1 . change the server management ip address
2. Update the DNS server entries
3. Restart the server management network
4. Restart the management agents
5. Reconnect host to vcenter
6.login to vcenter server web client
7. Select connection

Change IP address of Solace VMR Community Edition on ESXi 6.5

I have installed Solace VMR 8.1.0 Community Edition on ESXi 6.5. I have a few IP addresses provided by our network engineer to be used for VMs on this ESXi server. May I know how I can change the IP address of the Solace VMR? The online guide does not mention this. Thank you.
You will need to login via the sysadmin user to configure a static IP address for the interface.
Please refer to Configuring Interfaces With Static IP Addresses on Solace's documentation page for the exact steps to do so.

server 2012 using wireless for off grid network

This question is similar to Access IIS on Windows server 2012 through wireless directly without router we tried some of the windows 8 applets to set up a shared connection but none are successful on windows server 2012.
On the 2012 server we are from command line running
netsh wlan set hostednetwork mode=allow ssid=haxxy key=txectxec keyUsage=persistent
netsh wlan start hostednetwork
The above completes successfully and we can try to connect.
But a computer connecting is not getting assigned an ip address.. how can i get the wifi to have an ip or to offer the servers dhcp?
If i do ipconfig non the server the wireless has been assigned 192.168.173.1 - but im unsure what provided that ip address.
If i go to the server's dhcp under server bindings the 192.168.173.1 ip address is not available from there.
The http://www.connectify.me free verson worked and was nice so we bought paid version. The scripts at Dror Gluska (2012) - http://uhurumkate.blogspot.co.il/ got me close.

Resources