How to notify my IP to other devices in my network - windows

I have a setup with a few Linux devices and one windows device connected to a switch. I would like a way to tell the windows machine which IPs the Linux machines get when booting. I have tried to populate the arp table on the windows machine by pinging broadcast but I have not succeeded because windows doesn't reply to broadcast.
I have tried also nmap but that is not an option because it takes really long to scan (the net mask is 255.255.0.0)

You could set up a static IP and other network settings on all the Linux machines.
then on your Windows system edit your HOST file with the names and ip addresses.
This should bypass the need for a DHCP or DNS.
However other systems on the network will not be able to find your systems.
Regardless you still need to speak to the guys who administer the network to add your linux systems in.
It is rather impolite and/or against policy and somewhat bordering on illegal; to simply plug in your systems into the network not owned by yourself.
So if you have a right or need, the administrators will listen and should help you.

Related

Hyper-V - No Guest Internet

I'm using a Windows Server 2019 server from Microsoft Azure. I have installed Hyper-V with the management tools and am now trying to setup a Ubuntu 14.04LTS VM inside of Hyper-V. I create a new External Switch however when setting up the Ubuntu instance there it tells me that there is an issue with the DHCP server. When I check my network connections for the newly created switch there is IPV4 connectivity, with packets being sent and received.
Things that I have tried:
-Ensured that inside of the Virtual Switch Manager that in my newly created virtual switch, the external network is selected as my main internet adapter. And that the "Allow management os to share this network adapter".
-Tried selecting "Internal Network"
-Inside of the ubuntu server, tried dchlient -r and dhclient eth0 to try to retrieve a new IP (For internal network this has worked, but without internet access, for external ip it hangs on the command dhclient eth0)
-In Network Connections I have tried bridging the two connections (out of desperation, "bricks" the vps causing me to not be able to rdp, must create a new azure vm)
-I have tried right clicking the main "ethernet" inside the Network Connections and allowing sharing options to other users.
Please help as I'm quite lost as to why the Ubuntu Guest is not connecting to the internet with the new network switch
The virtual switch connection types are very confusingly named, and sharing is somewhat flaky. I've had best results with the Internal Network. Most of the time it just works but there are certain situations when the NAT service breaks and you will have to restart some combination of the host and guest machines, possibly both -- I've not found a way to just restart the virtual switch service without restarting the host OS.
If you need to use the External Network type, be aware that your actual physical router will be in the mix, so you must make sure that it is properly configured, especially if you're doing MAC filtering on your router and the guest is not using the hardware MAC. This usually happens because of the virtualisation process itself, even if it's not something you've configured in the guest.

Synology NAS Default IP Address

My work recently purchased a Synology DS3617xs NAS. How do I find the default IP of the NAS so I can do the initial setup?
For security, we're running on a closed system - no internet
Running RHEL 7.4, so the Synology Assistant won't work (Win /Mac /Debian only)
We have two switches but no routers, so no DHCP
From the documentation it seems you need either an internet connection or DHCP for automatic IP assignment (where you can then find the IP from your router).
Any help is greatly appreciated.
I figured out a work-around.
I connected the NAS directly to my workstation using another LAN port I have installed on my workstation. I set the IPv4 connection for this port as Link-Local Only. When the LAN port identified its IP address, I used nmap to search the network to find other IP addresses. Since the only other item on this connection was the Synology, I was able to figure out the IP.
As you dont have DCHP option, please check the subnet and IP Range of the Switches. Then set the IP for the synology diskstation manually (search with the App Synology Assistant Windows download Link). Run synology assist from your computer makes sure the NAS is up and running all lights on and the blue light solid. LAN and disk lights should be flashing. It does take a few minutes for the unit to become available the first time. if you see the IP you can just type in the IP and get to you NAS as well without the synology assistant. You will need just the DSM file for your version/ unit. usually xxx.PAT. its that easy . Maybe the extra switch is the problem.
Pat file of your Diskstation: Link
As others said, it will spend time looking for a DHCP server to allocate an IP, and if it can't it'll eventually(*) default back to a self assigned IP in the 169.254.x.x range.
It takes quite a while to time out, so if you want to set it up without a DHCP server, you need to power it up and wait for 10+ minutes till it times out looking for DHCP responses.
IF you want to set it up without DHCP, you'll want to ensure your computers IP is setup to be able to talk to this range. (eg set your netmask to 0.0.0.0 so all traffic is sent directly, instead of any configured gateway)

Script to Automatically Set Windows 7 Network Settings to Auto Obtain IP and DNS Server

I have a virtual machine that sometimes tries to set a specific IP and DNS server to reach, but I do not want it to do that. It messes with my ability to connect to the internet and my VPN. I program in Python and am comfortable with terminal and bash, but was wondering if someone could point me in the right direction for a script that will set the IPv4 settings of my LAN Network to obtain IP and DNS automatically. Something that I could potentially just run at start up.
Cheers!

DHCP to real network from VMWare machine

I'm currently working on a project involved in deploying Windows 7 (configured to our needs) to a lot of netbooks. For that I'm planning to use Acronis Snap Deploy and to push images through ethernet. I'm currently having issues with DHCP service though, because I'm using Windows 7 Ultimate on my PC (main). I tried to use programs which run DHCP services, but they all failed for some reason.
The thing is complicated with the fact, that my PC belongs to our corporate network with our our Domain and DHCP server - I connect to the network through WiFi.
I plan to use PCs Ethernet to create my own "private netbook network" :) I have to turn off my Wireless so that my PCs DHCP won't conflict with corporate's.
So my questions are:
1) If issue IS REALLY in DHCP programs, would I able to run Windows 2003 Server from Vmware Workstation, so that it would issue IP Addresses to the netbooks?
2) If you know better ways of deploying images to multiple PCs, can you advice me on that?
Thanks!
What network will netbooks be plugged in? You are talking about "private netbook network". Does it mean that all the netbooks are plugged in a network with only your PC and netbooks?
If so, you should install a DHCP server on your PC and enjoy. Netbooks get IP from your PC, no one knows about corporate network.
DHCP works by using broadcast. If your computer is connected to a corporate network that already uses DHCP, your new DHCP server may answer requests from other corporate PCs. You don't want that.
You need to make sure your DHCP server doesn't have a way to talk to the corporate network. You could put another network interface (like wifi you mentioned) in the PC, then make sure the DHCP server only hands out addresses on that non-corporate interface.
Using virtualization won't help unless the DHCP clients (the netbooks) are also virtual machines.

How to quickly connect 2 PC together using Ethernet without router / DNS

In the field I often need to perform remote debugging on a target PC using my Delphi development IDE running on my (host) laptop. Because I cannot use any pre-existing network address infrastructure I use a cross-over network cable directly linking the two PC's. I then setup manual IP address of (say) 100.100.100.1 and 100.100.100.2 for the two and after much rebooting and fiddling I get the shared folders that I need. Finally after working in this way I have to carefully put things back to how they were.
This is pain though. There is a lot of typing and room for error. Further, sharing can take a while before things become visible. Is there some way that I can run something (or write a script) that would ease this process in any way?
Use the designated intranet IP ranges: 10.x.x.x or 192.168.x.x, not 100.x.x.x.
Run a DHCP server on your box. The other box will most probably be already configured to use DHCP to obtain an IP address, this is the default. Windows comes with a bundled DHCP server (at least some versions, install it as a Windows component), or you can use a third-party one.
You need zero rebooting on either box: all modern OSes allow to change IP addresses and routing on the fly, Windows is capable of this for at least a decade. Note that you don't need to change the IP address of your box. Often the secret of fast folder access is using the IP address, like \\192.168.1.1\share_name because name resolution services may take long time to kick in.
If you want both the link via the cross cable and a wired Internet/LAN link, just add another network card to your box (slightly more expensive with notebooks) and have the DHCP server only work with that dedicated card, so you don't need to touch the Internet-connected interface at all.

Resources