Networking beginner, but my experience is in web and mobile app development for 10+ years, so I'm not at all new to technology.  I recently started working on a new team with some dev-ops engineers and they are very familiar with networking, systems, services, automation, and provisioning. In an effort to inexpensively learn more I got 4 raspberry pis and an unmanaged switch.  I'm starting with basic networking and linux administration on my path to learn more about the peripheral and platform technologies that support the applications that I build.  I want my Raspberry Pis to be assigned static IPs from my modem/router/wifi-access-point device (Motorola Surfboard G6580), anytime any Raspberry Pi connects. Is it possible to have the Raspberry Pi (or any other device for that matter) request a specific static IP from the DHCP server?  The modem has a 192.168.0.1 web address that will allow me to manage the dhcp assignment of static ips based on mac addresses. However, I am curious to know if this is possible to automate with a request from the raspberry pi itself.
123706
I am wondering if there is anything (software or hardware) out there that can do something I think I may have made up, Dynamic Static IPs. The idea is that when a new device connects to the local network this device/software acts as a DHCP server, if the device is new then it dynamically assigns it a new address that has never been used before and stores this MAC Address IP Address combination in a database, if the device's MAC is in the database the devices gets the same IP as before.  I am aware this is similar to sticky IP allocation but I don't want the IPs to stick for a while I want them to be superglued on for ever.  Bonus question: Is this possible using a Raspberry Pi running Raspbian on a network with around 100 devices? The RPi is already acting as the DHCP server and the router has this capability but it is turned off.  Many thanks in advance for any and all help offered!
55923
It's very annoying to have this limitation on my development box, when there won't ever be any users other than me.  I'm aware of , but none of them do exactly what I want:    (The version in Debian testing, 1.0, only supports IPv4)  (the "nat" table is not yet implemented for ip6tables, the IPv6 version of iptables) sudo (Running as root is what I'm trying to avoid) SELinux (or similar). (This is just my dev box, I don't want to introduce a lot of extra complexity.)   Is there some simple sysctl variable to allow non-root processes to bind to "privileged" ports (ports less than 1024) on Linux, or am I just out of luck?  EDIT: In some cases, you can  to do this.
16949
How do I get a remote host IP address if I don't have ping, and don't have any bind utilities like dig, nslookup, etc?  I need an answer that does not include 'install X' or 'use sidecar container'. I am looking for something that relies on nothing more than bash and the basic shell commands.
58827
I'm trying to setup my iMac running 10.6 to be a wireless bridge. I have it working, but I need to disable DHCP and let my network's DHCP server provide an IP for the connected device(s). I can't seem to find a way to disable DHCP in Internet Connection Sharing. Does anyone know if this is possible? I'm guessing there's a key one could set in /Library/Preferences/SystemConfiguration/com.apple.nat.plist, but I can't find it. I checked the man page for InternetSharing and it doesn't mention anything useful, except changing the subnet that the DHCP server uses.
52903
I need to configure my wireless router so all wireless devices are on a different subnet (192.168.2.1).  The wireless devices should be able to access the internet, but ideally not the workstations on the LAN.  Here is my network:    All suggestions welcome!
43509
I am a new with Linux, having years experience with Windows servers/desktops and am having issues setting a static IP. I am using a method used for previous versions of Ubuntu, which doesn't seem to work with 16.04  I have used the command sudo nano /etc/network/interface and added the following  iface enp0s25 inet static address 10.10.8.2 netmask 255.255.0.0 gateway 10.10.1.1 dns-nameservers 8.8.8.8 8.8.4.4   I have rebooted the system and the Ethernet is pretty much dead, ping doesn't work at all. I have tried to modify /etc/NetworkManager/NetworkManager.conf and made the following changes  #dns=dnsmasq (comment out the dnsmasq) [ifupdown] managed=true (changed from false)   With this I can get Ethernet to work sporadically, however it eventually fails.  I have tried this configuration on two other machines plus a virtual machine as well and all have the same results. I can confirm these settings work fine when I install Windows on any of these machines. As well when I let DHCP auto configure, everything works fine no issues.  I figure I am missing something here, setting up a static IP should not be difficult at all.
111753
I have three servers that currently have ips 192.168.1.1, 192.168.1.2, and 192.168.1.3.  They can see each other and talk to each other.  I would like to create a second subnet, on top of the 192.168.1.x, which is 10.170.x.x.    I can assign ips to each of the three servers, 10.170.0.1, 10.170.0.2 and 10.170.0.3,  with ip addr add 10.170.0.1 dev eth0.  The problem I'm having is how to do the routing.  I can't ping any server over the 10.170.x.x network.  I believe that I need to create some peer-to-peer bridges but I have no clue on how to get started.  Any ideas?
22773
My router can do port-forwarding based on MAC addresses. That is, a specific MAC will get a specific IP, for which I can configure a set of ports to be forwarded. In order to easily change that set of ports, I'd like to have different connections in the Network manager.  How do I change the MAC address for a network connection?
24302
How can a computer with dynamic IP work as a WebServer?
20702
I'd like to host two websites with different domain names, on a single server, with a single IP address.   I have a fixed IP address with my service provider. It points to my router which port forwards everything on port 80 to a mac mini server on my local network.  How would I get that mac mini server to host two different websites on the same IP address?  Do I need to play around with the DNS on the Mac, or on the router (which is the entry point for the fixed IP address)? IE on the local network, does each domain name needs its own IP address so that these can be resolved by the single server? Little confused as to where to start. Thanks for help.
94930
Is it possible in dhcpd.conf to ignore requests from a set of MAC addresses?  Something like this:  host vminstances {     hardware ethernet d0:0d:*;     ignore booting; }
116988
I'm trying to set up a  wireless router as an access point in order to extend the effective range of a working Belkin wireless router that has internet access.  I don't know the model of the Belkin router, but  is what the router access screen looks like @ 192.168.2.1:  The wifi is unsecured and is giving out IP addresses. The DHCP range is 192.168.2.2 through 192.168.2.100.  There is no time limit on the lease either.  I've tried a couple of setups on the WRT160N but could'n get any configurations to make the Linksys behanve as a wireless access point.  The most reasonable configuration, in my opinion, was to give the WRT160 a fixed IP of 192.168.2.99, turn the DHCP of the wireless access point off, and use 192.168.2.1 (Belkin WiFi) as the gateway &amp; dns servers.  I have a similar set up in my house where I set up a wireless router with static IP and DHCP disabled to act as an access point.  It obtained the "internet" through one of the 4 wired ethernet jacks on both routers and not via WiFi.  That's the only difference, I suppose.  I need the internet "feed" to be obtained wirelessly rather than through a wired connection.  What am I missing?  I have been reading manuals and Q&amp;A sites about the issue but could not find the right help. EDIT:I don't have access to any piece of hardware except for the Linksys WRT160N.  The other pieces I am trying to connect to/bridge with are in an inaccessible area.  I cant run wires to or from them, I can only connect to the router via a browser wirelessly.
48902
Brief Description:  I need my Ethernet card (en0) to see all traffic under 192.168.2.xxx.  However I also need to use WiFi card (en1) for all other traffic.  OS: OS X Lion    I am using a separate network location to deal with this specific use (since this is a for a robotics project that communicates via Ethernet). Ethernet (en0) had to be set up as a static IP (192.168.2.10) per the requirements for the device I am connecting to. All connections on the Ethernet card (en0) should be 192.168.2.xxx as specified above. WiFi (en1) is set up as DHCP to a router since their is no point in assigning it as a static for general purpose traffic. Ethernet (en0) is set up as priority over WiFi (en1).  I would also like to keep this under the network location preferences if at all possible since I do not require this feature to be on all the time.  I would really appreciate your help on this. No one I have talked to knows how to solve this.
101686
How to set static IP address on Ubuntu 16.04 LTS? I need connect router board which have static IP address ((192.168.15.1 address is board ip). I tried set via GUI, Network > Settings > IPv4 Settings > Method (Manual) where tried to specify Address, Netmask, Gateway: but these are not saved for some reason, if I type subnet (2nd step), it appears in place of ip address field, same for gateway. Not sure what's wrong there. For example, I want set   IP 192.168.15.3 subnet mask 255.255.255.0 gateway 192.168.15.254
965
I need fixed IP in three wireless networks I log in frequently.  It is a pain to set those IP and gateway everytime I change networks.  I am willing to write a script to change my IP and gateway between those 3 fixed IPs and a choice to make it get IP automatically (when I´m in another network).  A plus feature to my script would be if it could discover the wireless network I am logged in and decide the IP automatically.  Is it even possible?  Thanks.
10348
How does the ping command really work?  Specifically where does the ARP (Address Resolution Protocol) come into picture?   I was asked this question in an interview and I was not able to come up with a scenario when ARP could be used.
9555
My web server (Ubuntu, Nginx) have both IPv4 and IPv6 addresses assigned by the host. For my website, shall I bind it to only an IPv6 address? Is it the standard recommended way? Or, shall I use both IPv4 and IPv6 addresses?