Cisco Switching/Routing :: RFC 3442 / IOS DHCP Server - Classless Static Routes On Clients
Nov 11, 2011
I was trying to find if it's possible to add the option for static routes for DHCP clients on Cisco IOS DHCP config mode. I'm looking to add a settings as defined on RFC 3442, like this one, set on ISC DHCPd server:
Global settings:
option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;
And for the subnet declaration:
option rfc3442-classless-static-routes 24, 192, 168, 30, 192, 168, 10, 1;
option ms-classless-static-routes 24, 192, 168, 30, 92, 168, 10, 1;
View 5 Replies
ADVERTISEMENT
Feb 2, 2013
I used to use a CentOS self-made server for intranet for my little office, but I bouth few days ago a Cisco 861 router to replace the linux box.
1. I have 2 public IP classes from my ISP. 1 class is limitted to 80mbit upload, the other to 30mbit upload. So I need some sort of DNAT to be able to know exactly which intranet computer uses big internet and which one limitted internet.
2. I need DHCP server and with static IP addresses (one computer must always have the same IP address, etc).. i have my needs for this.
3. Also I need external access to some servers inside (web, ftp, etc) [code]
So far so good, all looks simple and I can achieve this in 2 hours on a centos linux box (correct routes, ip forwarding enabled and few iptables rules for NAT/SNAT/DNAT).
But on this brand new Centos router well, i'm not even successful in pinging the outside world, nor the inside world I'm tired of reading the forums, the documentation..i want (at first) a simple scenario: vlan+dhcp, fa4 with 1 public ip address and ACCESS to the real world. I wasn't able to achieve not even that much. [code]
View 6 Replies
View Related
Nov 15, 2011
In my live VPN concentrator at work, my 5520 is showing a static route for each VPN client that is connected to my SSL vpn right now. This kind of confused me because wouldn't only one route to the address pools subnet be needed for my vpn users?
View 12 Replies
View Related
Feb 9, 2012
I have just purchased an ASA 5505 for my remote users to access our internal network. I have followed all the setup instructions I can find. I am able to establish a VPN connection using the Anyconnect client and can see some of my internal network. (Basically, only the subnet of the internal interface) However, I have several subnets inside my LAN which are routed by another switch inside my LAN. I have built in the correct static routes so that the ASA will send traffic to that intenal routing switch for any subnets not part of it's inside interface subnet. I can see and ping those subnets from the ASA itself but the AnyConnect clients cannot.
View 9 Replies
View Related
Aug 8, 2012
I have a Cisco 876 router running 12.4.(15)T5, configured as DHCP client. This works nicely.
A Cisco 886 router, running 15.1 software also works with the DHCP client. This also works but has the following strange beheaviour: In the running-config an ip route 0.0.0.0 0.0.0.0 <dhcp assigned address> appears. Also - some other static routes that are in the config using the dhcp keyword are duplicated with the dhcp-assigned address
Now - when a write mem is done, these dhcp-generated route entry's are stored in the startup-config...
This beheaviour is completely different and VERY unwanted. After a change from DHCP server the config will simply stop working, when a write mem was done at the first DHCP situation.
Should we stop using write mem commands when a DHCP client is active in IOS? Is it a bug? Is it a feature?
View 1 Replies
View Related
Aug 3, 2012
Is there a way to set static routes per VLAN?Example VLAN 100 sends all traffic to 192.168.1.1 and VLAN 200 sends all traffic to 10.1.1.1. (2800 Series RTR)I have 5 networks that have their own gateway to the Internet via satellite link. Those networks run over the same infrastructure on separate VLANs. They frequently send traffic to each other, which gets sent over a slow SAT link. I introduced a router to the network and would like to set all my hosts default gateway to the local routers sub-interface then have a static route that send all traffic that is not on one of my 5 networks back to that VLANs respective SAT modem to get routed out over the Internet.
View 4 Replies
View Related
May 14, 2013
I have a Routing issue with one of my SG300-28P units. It has several Trunked VLANs. I think I habe Narrowed it down to a Default Route on the offending SG300 though I cannot see to change or delete any of the Static Routes on the unit. I can Add Routes with no issues, but once Added I cannot Edit or delete them.
View 1 Replies
View Related
Mar 5, 2013
We have a 6509 series of core switches and 3750 series of L2 switches, There is no default gateway or any static routes to any IP.VLAN 1 is made admin down and another vlan is used for all communication here in this environment
Attached is configuration for reference But still I am able to take telnet or SSH. I want to know how telnet or SSH or tacacs authentication happens without any static or default route.
View 4 Replies
View Related
Jun 10, 2013
Is there any way to have my Cisco 877W Router alter from using one static route to another static route when another router on the network is reporting destination host unreachable?
Router 1 (192.168.2.253)
Dialer0 -> ppoe to internet
Vlan1 -> local 192.168.2.0/24
Router 2 (192.168.2.254)
Dialer0 -> ppoe to managed VPN (172.16.28.1)
Vlan1 -> local 192.168.2.0/24
Router 2 is connected to another network through a managed VPN and that network also has internet access. I want to be able to have two routes to the internet on Router 2. And when Router 1 internet goes down packets get routed through the VPN instead.
I currently have on Router 2
ip route 0.0.0.0 0.0.0.0 192.168.2.253
ip route 10.0.0.0 255.255.255.0 Dialer0
ip route 0.0.0.0 0.0.0.0 172.16.28.5 250
Which does nothing when Router 1 has its Dialer0 interface shutdown, or goes offline completely.I suspect I could reverse the setup and have everything routed through the VPN by default and then if / when Dialer0 interface goes down it would switch to using Router 2, but if the problem is in the remote network and interface Dialer0 stays up, it would probably do the same thing... nothing.All devices mentioned are Cisco 877W routers with ADSL and a bunch of fast ethernet interfaces.
View 2 Replies
View Related
Nov 18, 2012
We've got 5 remote offices with cisco 881 routers, Win Clients behind them and all routers connected via vpn site-to-site to central software router.
Mostly all clients recieve ip addresses from routers in their subnets 192.168.x.024
We have Win DHCP Server in subnet 192.168.181.024
The problem is that some of clients,physically sutuated in 192.168.10.024 subnet, recieve ip addresses from Win DHCP server from 192.168.181.024 subnet.
Here's part of cisco cfg:
interface FastEthernet0
no ip address
!
interface FastEthernet1
[Code].....
View 3 Replies
View Related
Aug 13, 2011
I have 2 connections a single T1 for voip traffic only and a DSL line for data traffic.the dsl was migrated to a 2811 with out any issues now comes the time to move the T1 over.
on the T1 side I am able to ping the WAN router and the LAN router IP address but nothing behind it.
currently this is the only statment on the router:
ip route 0.0.0.0 0.0.0.0 Dialer1
as a quick a dirty to remove the above i tried:
no ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 66.55.110.0 255.255.255.0 Dialer1
but the DSL side dropped. we have a 66.55.110.152/29
for the T1 i would use the following statement.. we have a 209.98.53.192/27
ip route 209.98.53.0 255.255.255.255 65.32.70.177
View 12 Replies
View Related
Jan 3, 2013
I've been playing around with the Cisco RV180s for a while now and have come across a problem with the subnet calculation in the static routes and routing table. Essentially, if I configure up a static route for a /16 it's entered in the routing table as a /13. If I add a /24 it's entered in the routing table as a /16. I haven't tested every subnet size and combinations but this looks like a fairly fundamental maths bug.
As a side note, I notice that the 1.0.1.9 release notes state the removal of SSH Server, however, I can not find any reference to it's existance prior to 1.0.1.9, did/does it exist in 1.0.0.30 and if so where? .
Screenshots are below and an extract from the configuration file for reference.
From the config file:
route = {}
route[1] = {}
route[1]["active"] = "1"
route[1]["dstIpAddr"] = "8.8.0.0"
route[1]["gwIpAddr"] = "192.168.1.250(code)
View 1 Replies
View Related
May 31, 2012
i am not sure if this is something with my DHCP setup or not, but it certainly seems to be the culprit. I am running a 3560G and using it as DHCP and to do V LAN routing (Geiger protocol). I have 10 pools configured with a few static addresses per pool. Now to get down to the problem. I have a computer (and this problem seems to be a gremlin as it changes what computer is affected quite often) that will connect, get its IP, immediately disconnect, then send out a DHCP req again. The computer has a static assignment in the pool, and for the brief second that it connects, it gets the right address. If i move the computer to another v lan, all works right. If i delete the static entry it will get an address in the right v lan no problem. The command i have been using to add static entries is:
address xxx.xxx.xxx.xxx client-id 01xx.xxxx.xxxx.xx
That seems to have been working on all my static routes except for a bank of computers in vlan3. I have went as far as to delete the pool and recreate it, heck i even recreated the v lan and i am still having issues. Below are some snippets of the running config for review.
The DHCP Pool for the affected LAN:
ip dhcp pool Dev3
network 192.168.3.0 255.255.255.0
boot file bootx86wdsnbp.com
next-server 192.168.1.78
dns- server 192.168.1.8 192.168.1.78
[Code] .....
View 4 Replies
View Related
Oct 3, 2011
I was so fed up of using the out of a box routers from PC World or the provided router from the host that I decided to splash out and buy a decent router.The Cisco 887 came highly recommended and seems to be a great purchase so far. Our down time and internet hangs vanished overnight.Having had this installed for several weeks now I thought it was time to look at my problems with it,I have 2 broadcom network cards, 1 for the LAN and 1 for the WAN, All machines connected to the LAN get full internet access but my server will not.
The router plugs directly into the Server (2008) with an IP address of 10.10.10.1 - this is listed under the LAN settings in Cisco CP Express.I have a fixed IP address which appears to be set up correctly and all my terminals / client pc's that are plugged through the switch. These all show IP's that look like 192.168.1.x / I am not an IT wizz kid but I know my way around a computer pretty well. I am guessing I need to move the router IP to within range. At present the Server sorts out the DHCP and we also have a VOIP phone system.
View 15 Replies
View Related
Jan 16, 2013
I have a 4402 (version 7.0.235) working with 10 units of 1121 APs connected to it. The WLC is not configured to work in LAG mode. Physical portt #1 is connected to the Main Switch (trunk). I have 3 WLAN mapped to 3 Different VLAN and Everything (security and internal, external DHCP) is working swell...Now- I have connected Physical port #2 directly to an ADSL Router (giga port), Configured Port 2 as untaggedwith the proper IP details.I have configured this interface to receive DHCP from the ADSL Router and for some reason, Clients are not getting addresses.When I assign a Static address to my laptop I get internet access and all is nice. I tried configuring The WLC internal DHCP server (instead of the ADSL router) and that didn't work. It seems like a DHCP problem but I dont understand the source of the problem of think of the solution.When turning off the proxy settings I noticed that it worked. Is there anything to do with that? The problem was that after a while the other WLANs starting causing DHCP issues as well.
View 7 Replies
View Related
May 7, 2011
I have a machine with Windows Server 2003 running an Exchange Server in a office with 5 workstations attached. The server is being used for a basic outlook calendar across the various workstations, nothing major. Our current ISP provides us with a Static IP address. The party that installed and configured the server set it up to run the DHCP server on the server PC itself. As in, the machine running windows server is also running a software DHCP server for the entire network. THE SETUP: As of right now we have a wall port (internet access) with a cable running to a 8 port unmanaged netgear switch that has cables hooked up to the 5 workstations as well as the server itself. Pretty simple.THE QUESTION: How do I configure the ISP static settings on the DHCP Server portion of the Server PC? We may be getting a new ISP with a dynamic address OR a new static address. WHAT I'VE TRIED: I've tried configuring the IP address on the Server PC the way I would via the NIC adapter settings but it already has a internal IP address from the DHCP Server running on that PC so changing that was no good.
View 2 Replies
View Related
Aug 22, 2011
I'm totally new to using Windows Server 2003 (or any windows server edition) but I do have a basic understand of networking. I have a machine with Windows Server 2003 running an Exchange Server in a office with 5 workstations attached. The server is being used for a basic outlook calendar across the various workstations, nothing major. Our current ISP provides us with a Static IP address. The party that installed and configured the server set it up to run the DHCP server on the server PC itself. As in, the machine running windows server is also running a software DHCP server for the entire network. As of right now we have a wall port (internet access) with a cable running to a 8 port unmanaged netgear switch that has cables hooked up to the 5 workstations as well as the server itself. How do I configure the ISP static settings on the DHCP Server portion of the Server PC? We may be getting a new ISP with a dynamic address OR a new static address.
I've tried configuring the IP address on the Server PC the way I would via the NIC adapter settings but it already has a internal IP address from the DHCP Server running on that PC so changing that was no good. I guess what I'm basically looking for is a screen like this (I hope you're familiar with the configuration pages of Linksys Routers) url...
View 14 Replies
View Related
Dec 27, 2012
Is there a way to get the E4200 to NOT provide itself as a dns server to the DHCP clients? I have the unit set up to provide two dns servers to the clients, but the 4200 always provides itself as a third and it uses my cable providers dns servers. I am using a dns based filtering service to prevent certain material from being accessed within my network as the first two resolvers. So long as both or one of the provided servers is working it doesn't fall back to the unfiltered third, but I would prefer to remove it entirely.
View 8 Replies
View Related
Nov 24, 2012
The router always inserts its’ own address as the primary DNS server for the all DHCP clients even though you have set the DHCP server on the router to assign manual external addresses?
Oh I have a
WRT310n v2
firmware v2.0.01 build 004
Let me elaborate a little so I am clear what I am saying. On the router setup page go to the section that is labeled “DHCP server settings” enter 3 static DNS servers. Say 2 Google and one open dns.
8.8.8.8
8.8.4.4
208.67.222.222
Apply your settings.
Release your ip on your workstation, then renew it. And look at your DNS, the routers address is still the first entry.
DNS Servers . . . . . . . . . . . : 192.168.1.1
I suspect this was probably a design decision so that they could allow a user to open their web browser and type something neat like [URL]. Which for the average user is fine and dandy. If my ISP didn’t suck and try to redirect everything to cached copies I probably wouldn’t have noticed it. But since I end up using the router for DNS and it picks up DNS from my ISP I end up getting Akamai IP addresses, and they have problems with SSL certs…. So you get errors.
I know I can go set the DNS server settings on the workstations. But I really don’t want to do this on all of my devices as they are mobile and switch networks, and on some networks not using the local dns breaks things. Like on the corporate network.
View 5 Replies
View Related
Nov 18, 2012
Does the 22xx Series FEX support static or dynamic LAGs between itself and a server?Imagine a server with dual 10G NICs, and I need to connect them to the SAME 22xx FEX....can I set up a LAG between the two 10G NIC ports and two 22xx FEX Host ports? Does it depend on how the FEX is connected to the parent 55xx?
View 0 Replies
View Related
Jul 8, 2011
I just bought an e4200. I was using a LinkSys WRT54GS running DD-WRT alternative firmware.
One feature that I really liked in DD-WRT was the ability to assign static IP leases from the DHCP server. I liked having all of my devices running with a predictable, known IP address on my network. I have a Home Theater PC, and various controller applications that run on iPhones, etc. - some pretty homebrewed. Configuring the firewalls, etc. was much easier with IP address based controls.
Is there a way to achieve the same within the e4200's stock firmware?
View 1 Replies
View Related
May 17, 2013
I upgraded my SG500 switch firmware to 1.3.0.59, since there is a new functionality DHCP server v.4 well I must say I came accross the issue I cannot solve. DHCP server assign dynamic address - no hassles. troubles start with static IP hosts.I defined a couple of hosts with static address within the correct subnet. I tried with hardware address and client identifiers. no luck. my switch does not assign the IP address I assigned to the suitable mac address. to define it I use both CLI & Web.
ip dhcp pool host HP-Elliteaddress 10.10.11.7 255.255.255.0 client-identifier 01:d8:d3:85:cf:09:72client-name HP-Ellitedefault-router 10.10.11.1exit
ip dhcp pool host VAIO-Zaddress 10.10.14.108 255.255.255.0 hardware-address 54:53:ed:1c:a1:46
default-router 10.10.14.1exit
View 16 Replies
View Related
Jun 12, 2013
I've a Cisco 1941W router which is DHCP server for data-VLANs and uses ip-helper for voice-VLANs. [code] I don't know why I can't have IP from wireless voice VLAN whereas it is OK and wired voice VLAN and conf is the same!
View 4 Replies
View Related
Jul 9, 2012
Is it possible to configure an 881 router to act as a DHCP server to 4 VLAN's each with a different scopes all through a single ethernet interface?
View 2 Replies
View Related
May 28, 2013
I have customer who has as Core Switch one Cisco Catalyst 3750 with the IOS c3750-ipbase-mz.122-35.SE5.I know that this image support DHCP Server configuration, but I like to implementate new vlans (approx 15) and I want to know if this switch support 15 DHCP Servers.
View 3 Replies
View Related
May 2, 2012
i'm interested if it's possible to set the NTP server via DHCP on an 2901 Router with 15.2(2) image.
i configured the interface gigabit 0/0 as dhcp client. The DHCP Server sends to me DNS, Default GW and NTP. All is working fine, but the NTP will not be configured. i tried to add an DHCP option request, but there is no NTP (42) value. [code]
is there any way to add the value NTP (42) for the DHCP request or isnt it possible?
View 4 Replies
View Related
Mar 27, 2012
I have trouble with a Cisco 892 Router from my Internet service provider.
Last week we switched from a virtual Router to a hardware Router. But after plugging it in our LAN Switch, the Windows DHCP Server stopped leasing IP's. I got many BAD_ADDRESS with MAC like e1:80:10:ac, e2:80:10:ac, e3:80:10:ac, e4:80:10:ac, e5:80:10:ac, ea:80:10:ac, eb:80:10:ac, ec:80:10:ac and so on.
I do not have access to the Router config, so I can not dump the config to you. We have a flat LAN, single SUB-Net(172.16.0.0/16) and no VLAN, no Spanning Tree. A Keep it Simple, Stupid(KISS) System.
A tech guy from service provider, is telling us, the error is not there fault and my switch is not correctly configured. But this is ********. For years we had a another Cisco Router from the precursor ISP and for 2 years the virtual Router from our current ISP. No trouble with my DHCP. But after plugging the new Router in, my DHCP stopped working.On the 892 is no running DHCP, but something interferences with my Windows Server 2008 R2 SP1 DHCP Server.
View 15 Replies
View Related
Nov 14, 2011
it's possible to let the Nexus 5548UP act as a DHCP server? (or if it will be possible in future releases)
View 3 Replies
View Related
Dec 11, 2012
I am running into a DHCP problem on a Cisco 891 running 15.0(1)M2. I am running DHCP on the router and want to reserve an address for a printer. I have done this hundreds of times on hundreds of routers. Per Cisco recommendation, I let the printer lease an address to see whether it uses it's "hardware-address" or "client-id". This printer uses the "hardware-address" format. The printer has leased 10.0.0.102 right off the bat. I want it at 10.0.0.50.
I have a DHCP pool, like this:
ip dhcp pool CLIENT
network 10.0.0.0 255.255.255.0
domain-name chsinc.ds
default-router 10.0.0.1
dns-server 10.0.0.1
lease 2
I create a "reservation" like so:
ip dhcp pool HP_LaserJet_Printer
host 10.0.0.50 255.255.255.0
hardware abcd.ef12.3456
Now I do a "show running-config" to see what I've put in and it looks just like above. Now we reset the network settings or change any network setting on the printer to force it to renew it's lease. What should happen and what usually happens is that the printer should request an IP, be offered 10.0.0.50, accept that IP and come up on that IP address. What is happening with this particular printer is that the printer requests a specific IP (the same IP that it had initially = 10.0.0.102), the router says OK and does not enforce the reservation. Then the router actually deletes the hardware-address config line right out of the running config. A "show running-config" shows that the reservation config now looks like this:
ip dhcp pool HP_LaserJet_Printer
host 10.0.0.50 255.255.255.0
See the logs below. Notice the ones in bold.
000226: Dec 12 17:34:01.382: DHCPD: Seeing if there is an internally specified pool class:
000227: Dec 12 17:34:01.382: DHCPD: htype 1 chaddr 101f.74b0.575c
000228: Dec 12 17:34:01.382: DHCPD: remote id 020a00000ae1e10100000001
000229: Dec 12 17:34:01.382: DHCPD: circuit id 00000000
[code]....
Is there a way to make the router enforce the reservation and not let clients just bring their own IP and actually make changes to the running-config of the router?
View 6 Replies
View Related
Jan 24, 2013
I seem to be having a problem with DNS name resolution after configuring my router (Cisco 3725 running IOS image: c3725-adventerprisek9-mz.124-25.bin) for handling DHCP requests.
Before I made the change, everything was working correctly; I could ping Google.com from a computer inside my LAN and would get response from one of Google's public IP's like normal.
I had a separate DHCP/DNS server running Windows Server 2008 handling the DHCP request and DNS queries.
When I made the change, I turned off the DHCP/DNS server and issued the following DHCP commands to my router:
Code...
View 5 Replies
View Related
Jun 5, 2013
I receive a question from a future customer about this future if its supported on " WS-C2960S-24PS-L":configuring 2 dhcp server on this swith ( 1 dhcp for voice vlan , and 1 for Data Vlan).I did some search , but i didnt find the answer .i have to advice a customer before ordering the switch.
View 2 Replies
View Related
Apr 24, 2011
On a 4500 switch port , defined as access vlan 10, if the user connects his own dhcp server ( instead of the normal pc that should be connected ), will it cause issues with my existing network. the existing network is all static ip. In above case, will the dhcp server start looking out and assign dhcp ip's , if a user unknowingly removes his static ip and changes to obtain ip via dhcp option on the lan properties.
View 10 Replies
View Related
Apr 26, 2012
I'm attempting to configure a Catalyst 3560-X Switch to act as a DHCP Server. There is documentation that supports this feature. Below is my config procedure however after the completed procedue no IPs are handed out to clients. [code]
View 1 Replies
View Related