Tag Info

New answers tagged

1

this command show the DNS server on your net dig | grep SERVER: | awk -F# '{ print $1 }' | awk -F: '{ print $2 }' 172.17.0.1


0

I have to disagree to the previous fixes. except for pepoluan's answer. Although i don't know if pepoluan's is a true white list technique, it is close to the right answer. To block all data to the wrong mac is your goal. Just disabling dhcp to non registered mac's is not a fix, if they set manual ip's which is usually one of 3 ranges... 10.0.0.x, ...


1

Alright. I spent probably a total of five hours on this problem before arriving at an answer. @Sirex's suggestion to uninstall cloud-init was the clue. Essentially, cloud-init is a service built into most EC2 images (AMIs), including AMI Linux and CentOS. The system does lots of things (google it), and is probably useful for certain provisioning and ...


1

uninstall cloud-init. This drove me mental the first time :-) Still looking to find time to work out how to make cloud-init set the hostname as expected (from a tag or such) - not got that far myself yet.


2

Here's a code I found and modified for this. $Merged = @() $Scopes = Get-DhcpServerv4Scope -ComputerName dc2008 #-ScopeId '10.1.230.0' Foreach ($Scope In $Scopes) { $IP_res = (Get-DhcpServerv4Reservation -ComputerName dc2008 -ScopeId $Scope.ScopeId) $IP_lease =(Get-DhcpServerv4Lease -ComputerName dc2008 -ScopeId $Scope.ScopeId) $IP_lease + ...


0

One way to do it is to set up your dhclient.conf. This is the setting that works for me: request subnet-mask, broadcast-address, time-offset, routers, host-name, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes, ntp-servers, dhcp6.fqdn, dhcp6.sntp-servers; supersede domain-name-servers ...


0

Create an AD account, member of "Domain Users", set "Password never expires", in advanced DHCP properties click "Credentials..." and enter that user there. Then make the following setting in DHCP [x] Enable DNS dynamic updates according to the settings below [ ] Dynamically update DNS A and PTR records only if requested by the DHCP clients [x] Always ...


0

In the end, I think due to our particular network implementation, DHCP relay was not an effective option. We decided to create a new VLAN, and set the IP helper-address on the interface for the VLAN. All wireless clients where then placed onto that VLAN, and the DHCP server was then given a second scope to assign a different set of IP addresses.


0

... net.ipv6.conf.ppp0.accept_ra = 2 To ensure that kernel config params are really set everytime the ppp device comes up try to use a udev rule: KERNEL=="ppp0", SUBSYSTEM=="net", ACTION=="add", RUN+="/bin/bash -c 'echo 2 >/proc/sys/net/ipv6/conf/ppp0/accept_ra; echo 2 >/proc/sys/net/ipv6/conf/ppp0/forwarding;'" Place it somewhere in ...


1

'Bind IP to MAC' is specific to Draytek... if you want information on the generic term you would want to look up 'DCHP Reservation', or start with reading about DHCP in general. Question (2) is not a real question since a client configured with a static IP address will use the configured address, there are no further steps.


1

I have also recently encountered this same issue. I'm running two OpenStack instances with keepalived. I noticed that when the instance renewed its IP address sometimes keepalived thought the IP address was removed and then re-added it moments later. That was enough for it to release the VIPs, but did not re-add them to the primary keepalived instance nor ...


2

This is How To Add the PXE Boot Configuration in the relevant VMware Fusion dhcp.conf file. The "proper" solution is to simply redeclare the whole subnet block below the "DO NOT MODIFY" section. So, to add the next-server and filename options for PXE booting, I had to add the following: ####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" ...


0

I have had this same problem with isc-dhcpd on Ubuntu 9.10. Ultimately I upgraded the operating system and a new isc-dhcpd-server package shipped with it. A little more information might be helpful here, but it looks like a client side issue to me. A similar thing sometimes occurs with poorly implemented tftp clients in pxe boots, but I don't think you've ...


3

Instead of creating static reservations, why not set mac restrictions to get a normal DHCP address? http://technet.microsoft.com/en-us/magazine/ff521761.aspx MAC address filtering (aka link-layer filtering) is a feature for IPv4 addresses that allows you to include or exclude computers and devices based on their MAC address.


0

For the new CentOS 7 AMI, the only way I could get a static hostname set was by commenting out the lines: - set_hostname - update_hostname in /etc/cloud/cloud.cfg. The comment character for YAML is #. This is in addition to setting the hostname normally.


1

It sounds very much like you're trying to set the new router to be functioning like a switch. As suggested by RobM you should opt for a switch instead - unmanaged would be cheaper and plug n play! However, if your want to continue to use that router, I have a feeling your router also has an internet port and you've probably got that port linking from your ...


1

I guess you can use dhcp reservation so that for this machine's mac address the ip xxx.222.4.216 can be saved. This also might be helpful for you..


1

The real question is how do I provide two routes to the Internet and ensure my hosts always use the fastest path to get there? The case for routing. You have two locations, each with its own Internet connection. Hosts at each location are best served by using their site's route to the Internet. The two locations are also connected by a single link. This ...


2

OK. So you want all of the traffic to go out the closest gateway, but you can't get there from here. It's all the same layer 2/3 network so there's no way to prioritize the gateways so that clients use the closest one. If you use different subnets on each side then that presents the wrinkle of having to route traffic between the two subnets so you'd then ...


0

This only makes sense if you have a company structure that is split into many subnets but every network has its own gateway with different IPs: Consider your organisation has three different networks. In your office you have three systems, each from individual network. you may have only one laptop. You need to work on these three networks. Instead ...


3

If you have DHCP Audit logging enabled you might have the data in the logs. Details on how to set up DHCP Audit Log on Windows Server 2008 including the event types (e.g IP address lease etc) By default the log files would be located in %windir%\System32\Dhcp.


0

This can be done by adding the following lines to dhcpd.conf: option rfc3442-classless-static-routes code 121 = array of integer 8; option rfc3442-classless-static-routes 24, 192, 168, 1, 192, 168, 0, 4; option ms-classless-static-routes code 249 = array of integer 8; option ms-classless-static-routes 24, 192, 168, 1, 192, 168, 0, 4; This distributes a ...


0

My Opennebula is version 4.8.0. I had similar needs, so here is what I did: I configured the DHCP server that already exists in our network to reserve an IP range for DHCP. The range was: 10.23.1.201 - 10.23.1.254. That's 54 dynamic IPs. I created a new Virtual Network, which I named "DHCP". On the tab "Addresses" I chose radio button "Ethernet". This way ...


2

The solution is checking Use this connection's DNS suffix in DNS registration in the TCP/IP settings of the network interface: As much as it may appear strange, this is the only solution to ensure Windows will register both the A and the PTR records for a DHCP network connection; otherwise, it will only register the A record.



Top 50 recent answers are included