Subinterface FE router: assigning ip address

Wnat to connect 1 FE port of switch with 1 FE port of router (2800). As we need different subnet for voice and data wanted to 'subinterface' FE port on router. But when tried to assign ip address on FE 0/0.1 I got '% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.'. How do I get this fixed? First but interface (or subinteraces in a vlan?or..)
Thanks

Hi Peter,
Before assigning the IP address you need to set the encapsulation on the interface and then it will take the IP address.
Please give the command under the subinterface
encapsulation dot1q 1 native ---> where 1 is the vlan number.
subsequently for different vlans you need to repeat this command under diff subinterfaces.
encapsulation dot1q 2--> for vlan 2
encapsulation dot1q 3--> for vlan 3
Native keyword you have to use for vlan1 only as that is the default native vlan on the switch.\
http://www.cisco.com/en/US/tech/tk389/tk390/technologies_configuration_example09186a00800949fd.shtml
HTH,
-amit singh

Similar Messages

  • Linksys Router- Assign IP Address?

    I have a Linksys router with my Mac Pro. I have my mac pro wired into the router but it is a wireless router so there are other things on the router as well such as the Xbox. I have to have certain ports open for the Xbox to work and my torrent client to work as well. Sometimes the router auto assigns the IP to my computer and then I have to go into the router settings and change which IP has which ports open for it. Is there a way to assign my computer an IP so it gets the same IP every time and same with the Xbox?

    Open Network preferences click on the Advanced button then on the TCP/IP tab. Note the IP address assigned to your computer by the router, then change the TCP/IP IPv4 Configure drop down menu to DHCP with manual addressing. Then insert the IP address your router was using under the previous setting. Click on the Apply button. Use this IP address in your port forwarding configuration.

  • Why does my Airport Express say "self assigned IP address"?  No IP address for the ethernet, and it is not connecting to my cable router any longer...

    Why does my Airport Express say "self assigned IP address"?  No IP address for the ethernet, and it is not connecting to my cable router any longer...

    Some cable providers.....like mine, a well known company......seem to take anywhere from a few moments to sometimes up to 30 minutes to allow their equipment back at the cable company to fully reset and issue a new fresh connection.
    So, it would not hurt to leave things powered down for 15-20 minutes or more when you perform the reset that John Galt suggests.

  • Why assign IP addresses to router/switch interfaces?

    I get why I would ever want to assign a IP address to a router or switch, for remote login and IP for hosts to reach it. But why assign IP addresses to the interfaces? Is it so the router/switch knows which port to send the packet out? Route summation? But I thought they do that through the routing table, like " that address is out this port".
    So why would we ever need to assign IP addresses to specific port interfaces?

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    You normally assign IP addresses to L3 interfaces so other L3 devices have an IP address to forward traffic to.  (L2 IP address are generally only used for management.)
    Suppose you had Host (192.168.1.5/24) <> R1 <> R2 <> (192.168.2.8/24) Host, and you want the two hosts to intercommunicate.  How would you get this to work?
    You might started by providing interface IPs on the router interfaces facing the host, such as:
    Host (192.168.1.5/24) <> (192.168.1.1/24) R1 <> R2 (192.168.2.1/24) <> (192.168.2.8/24) Host
    You then configure "gateway" IPs on both hosts:
    Host (192.168.1.5/24 - GW 192.168.1.1) <> (192.168.1.1/24) R1 <> R2 (192.168.2.1/24) <> (192.168.2.8/24 - GW 192.168.2.1) Host
    Now each hosts "knows" to send all its off local subnet, traffic physically to the GW IP.  So, for example, if 192.168.1.5 want to sent to 192.168.2.8, it would forward the traffic to the GW IP, 192.168.1.1.  This is a example of why you want an IP on the router's L3 interface.
    Next we want R1 to forward the packet to R2, but it too needs a "next hop" IP address, so we assign addresses on the link between the two router, e.g.:
    Host (192.168.1.5/24 - GW 192.168.1.1) <> (192.168.1.1/24) R1 (192.168.3.1/24) <> (192.168.3.2/24) R2 (192.168.2.1/24) <> (192.168.2.8/24 - GW 192.168.2.1) Host
    R1 then needs to "know" where to send packets with an destination IP network of 192.168.2.0/24, in this case, it need to "know" to send the to IP 192.168.3.2.  When it does, R2, having and interface with 192.168.2.1, will also know 192.168.2.8 can be reached by sending the packet out that interface.
    Hopefully, the above will show why IP addresses on router L3 interfaces are needed.
    BTW, normally for the R1<>R2 link, you would assign a /30 or /31 network or you might use "unnumbered" interfaces (which "borrow" IPs from another interface).

  • Problems using MBP as WiFi router for iPad2 (self-assigned IP address)

    H/W& S/W:
    MBP 15" (model early 2011), running Snow Leopard,
    iPad 2 WiFi only, 64Gb, iOS 4.3.4 (8K2).
    Scenario:
    I am in a location where there is no WiFi. MBP is connected via Ethernet to a DSL network, and has access to the Internet. I turn on Internet sharing, having set the following:
    "Share your connection from" set to "Ethernet" and
    "Share computers using Airport" ticked.
    Previously, I have then connected the iPad 2 via WiFi with the WiFi network created on the MBP, and succesfully worked from the iPad on the Internet (email, browsing, app downloads, ...).
    Problem:
    Now, however, the iPad connects to the MBP's WiFi network, but when I attempt to access the Internet, I get such messages on the iPad  as "Safari is not connected to the Internet" or "Cannot Get Mail ...".
    On investigation, I see that Airport on the MBP is in a YELLOW status: Status On, with the note "Airport has the self-assigned IP address 169.X.y.z, and will not be able to connect to the Internet".
    On the iPad, the WiFi network shows the IP address 169.X.a.b (with a subnet mask (255.255.0.0).
    I have tried:
    1. turning Airport off and on
    2. renewing the DHCP lease on the MBP
    2. configuring IPv4 address in the MBP manually
    3. configuring the IP address manually on the iPad (not expecting anything with this, but ....)
    4. fixed Permissions" on the MBP disk (suggested on another support community web site)
    But none of these make any difference.
    Message was edited by: WKH
    forgot to mention: Firewall is disabled on the MBP.

    Hello,
    I've had the exact same problem on my macbook and it really **** me off ! I tried all of the solutions written in this forum and none worked for me ! I was really starting get mad especially that my macbook is quite new...
    And the thing is i have no Apple Store where i live which is a pretty F***g problem so I had to wait for vacations to go to france where I took my macbook for check at the apple store...
    I just came back right now and my wifi works till now a least far much better than before...The guy was really nice he checked everything and he tried all the solutions on this forum too..Finally he tried to boot from one of '' apple's '' usb that has suberb booting systems...And it worked so finally he re-installed 10.6.5 as it was '' corrupted '' with wifi bugs ! For that he needed to delete everything on my macbook ! GREAT !
    After 15 minutes the installation was done and it started like when you buy a new macbook !
    And VOILA the Wifi came back to normal !
    Hope this helps...
    If you have this problem go and see Apple Store or re-install yourself 10.6.5 !
    Thanks !

  • My ipad recognizes my home network but will not connect to the internet. When I click on AirPort/preferences at the top of the imac screen it says..."AirPort has a self-assigned ip address and may not connect to the internet".How can I change ip address?

    My ipad recognizes my home network but will not connect to the internet. When I click on AirPort/preferences at the top of the imac screen it says..."AirPort has a self-assigned ip address and may not connect to the internet". If this is the root of the problem,how can I change ip address?
    Ipad will connect no problem to other networks.

    First thing you need I think is to get your iMac connected to the Internet.
    Shut down your iMac and you iPad. Then power off your router. Wait 30 seconds and power up the router.
    After the router indicates that it is connected to the Internet then start up your iMac and see if it connects. If the iMac connects to the Internet then your iPad should too.
    If this power up sequence doesn't work you'll have to dig into the router setup to make sure it is working properly.

  • Lost wireless and repeated self assigned IP address

    After I updated to OSX 10.5.6 my powerbook started dropping my wireless/internet connection, and adopted a self-assigned IP address. This happened whether I connected to the router via wireless or cable.
    I was eventually able to change the system configuration files as suggested in previous posts, and reset my PRMU. This has worked for a wee while, but sometimes on starting up my laptop, the machine self assigns again.
    I know the internet is available as I can access it from my iphone.
    Then 20min ago, whilst surfing, the internet went down AGAIN, and self-assigned its favourite IP address.
    I recently updated to 10.5.7, but the problem remains.
    Is this a new problem or has it been going on for a while?
    Also, is it a hardware or a software problem?
    Any ideas?
    Charlie

    If you are able to connect initially and then it drops out I would look towards possible sources of interference. While most modern devices avoid this issue fairly well, it is a possibility. Devices such as cordless phones used to cause problems.
    If it is dropping out while you are physically connected, I would perhaps check the settings on your router. Most models have a reset function which will allow you to reset it to factory defaults. Then you could reconfigure it and see if the problem persists.
    The other possibility is that there is a software service on your macbook that is starting up and causing the network loss. If possible, I would attempt to initialize and reinstall all the software on your macbook. Note that this will wipe everything off, so make sure you make appropriate backups before reinstalling from scratch.
    Once you have reinstalled the OS, you can upgrade it to the most recent version and see if the problem persists before installing any other software that may interfere with it.
    You really need to go through a process of elimination to find out whether the problem lies with the macbook or the router. However considering your iphone works fine, I would look towards the macbook first.

  • Rebuilding aMacBook 1.83 GHz Intel Core Duo, hard drive failure so rebuilding system.  Aircard will not stop self-assigning IP address.  Any ideas how to resolve successfully?

    Had hard drive failure on MacBook 1.83 GHz Intel Core Duo, so had to rebuild the OS on new drive. Was on Lion 10.7.5 prior to failure, but had to reinstall Snow Leopard 10.6.3 since that was most recent OS on media I had.  After finally getting ethernet connection to router working, was able to get to internet and download / upgrade to 10.6.8.  I assume I can probably buy the upgrade to Mountain Lion 10.8 from there.
    Problem is this, Airport will not stop self-assigning IP address for my wireless connection, and unless I can get wireless back on this laptop, doesn't make a lot of sense to continue the rebuild and reinstall of all the software that was on it prior to HD failure.  Only way to my home network and router is ethernet now.  Everything else on my network (Apple MacBook Pro laptops, iPhones, desktops, and non-Apple printers and laptops) is hooking up to router wirelessly fine.
    Any ideas how to resolve successfully so that the airport will stop self-assigning and allow the router to assign the IP address?

    When see the beachball cursor, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Airport Extreme wired network can't assign IP address, but wireless works

    *Problem details:*
    We have three computers intermittently on, wired into the ethernet LAN managed by the Airport Extreme.
    We have a few more computers that connect to the wireless network managed by the same Airport Extreme.
    As far as I know, no fancy settings hijinks have been attempted. I manage the router, and I only plugged the Airport into the cable modem and connected all the wires to the computers. The WiFi setup went a similar way -- I just turned it on and it sorted itself out. This was eight months ago, mind you -- everything has been going quite well up until this weekend.
    But! I got home from a trip this weekend to discover that all the machines that connected over the wired network could no longer get a connection to the internet. Any machine connected over the wireless network, however, was working just fine. Indeed, my macbook pros couldn't even see the Airport Extreme when I turned off their WiFi, connected them over Ethernet and opened the Airport Extreme configuration app!
    The wired machines complain that they have a self-assigned IP address. Sometimes, after resetting everything, they look like everything's fine for a moment. Like I said, ordinarily my macbook pro does not even recognize the router over the wired network. However, after reverting to factory defaults and restarting the Airport, the laptop did see it (until a few minutes went by and it realized something was wrong).
    I figured that renewing my DHCP lease would fix this problem, but it did not. Nor did turning off Passive FTP Mode (PASV) under Proxies in the Network configuration pane.
    I have tried resetting the router to factory defaults, power cycling the modem and router in various configurations, etc. but nothing has worked. In addition, I have verified that connecting any machine to the ethernet directly from the modem will work, so the problem is definitely being introduced by the Airport Extreme.
    So I guess my question is: what do I have to poke to return everything to normal? I'd like working wired and wireless networks again.
    *Some last few details:*
    The Airport is running 7.5.2, but downgrading to 7.4.2 produced no tangible difference.
    I have an Ubee D3.0 modem. All lights are green and blinky except the DS light, which is solid amber (and it is green when the modem is wired directly to one of my computers -- it's only amber when connected to the Airport).
    Some of the machines that can't connect to the wired network are PCs, so it's not just an OSX thing.
    My roommate's XBOX 360 can connect to the internet over the wired port. It doesn't have WiFi, so I'm pretty sure there's no way it could be fooling me.
    Thanks in advance for any advice you can muster.
    EDIT FOR APOLOGIES:
    I didn't realize I was posting this in the "Airport for Windows" section. While a Windows computer's connection is a concern, I would much rather get my Macs online and deal with that first. I can't figure out how to move the message myself.

    *An update:*
    Several days later, this issue seems to have fixed itself. I suspect there may have been Funny Business on my ISP's end (but then again, it's an ISP).

  • Self Assigned IP Address with Airport Extreme

    I just changed my router from an Asus to AIrport Extreme.   The Airport Extreme is connected to an ATT DSL modem.  I know the modem works because I can connect to the internet when I connect it directly to my IMac.  However, when I try to access the internet through the airport extreme it connects temporarily and then loses the connection.  It tells me that I have a self assigned IP address and cannot connect to the network.  This is the case through both Ethernet and WiFi.  It is also the case when I try it with other devices (e.g. IPad, MacBook). 
    I know there are lots and lots of threads in this forum (and others) on this topic.  I have been pouring over them for days and trying everything I could find including but not limited to--
    Rebooting/power cycling
    Keychain clearing and repairing
    Renewing DHCP lease
    Turning off firewall and virus barrier
    deleting and recreating network
    The modem is set up based on the ATT instructions for when it is to be connected to a non ATT router, thus it is in Bridge mode and the Airport Express is set to use PPPoE.   OS and all firmware is up to date. 
    There is another issue which may or may not be related.  It is also an issue for which there are many existing threads (but apparently no definitive solution).  My Imac keeps giving me a message that the name of my computer is already in use and has been changed to.....
    http://https://discussions.apple.com/thread/4207056?start=0&tstart=0
    I have tried several suggested solutions (e.g. energy savings pref, using only wifi or only ethernet to connect).  So far no luck. 
    Both of these issues seem to have started when I switched routers.  
    Anyone know if the two issues are related?  And whether there is a solution?  Seems like both issues have been around a long time.......

    Was using the wrong password option in UIXperts driver. Kept thinking it was a different protection mechanism than it was. Once the password was set, all was well. Referred back to the IOXperts installation guide (RTFM) for a clue.

  • Self Assigned IP Address redux

    I am getting the "Self Assigned IP Address" in my Airport connection and I can't troubleshoot the problem.
    Here's my setup and what I have been looking to accomplish..
    I have an iMac G5 with a built-in Airport Extreme card running Leopard 10.5.3. I have created a network to provide my AppleTV and my work laptop with access to the internet. I've turned Internet sharing on, and have security set to a the WEP 128 key..
    Recently I had to exchange my AppleTV for a new one, and during the 2 weeks I was without AppleTV - something has changed (and as I think through the issue, I'm not certain about when the last time I played youtube or purchased content - maybe the new appleTV doesn't have anything to do with it, and it was a software upgrade), as I am no longer able to access YouTube content or the iTunes Music store to authorize my purchased content or to purchase new music/movies. However, I am able to watch movie trailers, and preview songs. It connects to the network fine, shows a strong signal, but something isn't quite right.
    I've performed about every known solution to the AppleTV problem, and have an open post over in the AppleTV area, but in tracking down my issue, I see that my Airport connection is showing that it has a "self-assigned IP Address" and my not be able to connect to the internet. My thoughs are that if i get the self-assigned IP address problem solved, I'll solve the ITMS/YouTube issue on the AppleTV.
    My internet connection is via Verizon DSL, with a DSL modem, connected directly to my iMac with an ethernet cable. (no external router/firewall)
    I find it interesting that I can watch trailers, preview music from ITMS with the 'Self-assigned IP' but not access ITMS for purchases, etc.
    I do not have any expertise in networking and for the most part am just following what posts I've seen out there suggest to try - trashing the com.apple.airport.pref's - restarting in 'Safe' mode, etc. Rebuilding the network connections from scratch, etc. Repairing Keychain access, disabling the built in firewall, etc. Just can't get by this issue.
    Anyone with any thoughts?

    hey guys...I found the problem...it helped me very much just try to change the wireless mode from 11bgn mixed to 11bg mixed...do this from router settings . . .I guess this will help you

  • Self assigned IP Address, wireless doesn't work

    After upgrading to Leopard I keep getting "AirPort has a self-assigned IP address and may not be able to connect to the Internet." when I try to connect to the wireless network. Thus, wifi does not work at all. I've researched it best I can and it seems to be a problem with the router assigning an IP address to the mac, but why didn't this happen in Tiger? However if I play around with it for awhile it will randomly start working, but the same method doesn't fix it everytime. It also works fine in bootcamp. If I physically plug into the router, it works fine. This problem didn't exist in Tiger at all.
    Message was edited by: SuperDupe453

    Follow-up:
    On the two laptops, I finally managed to get on line by switching to a different wireless access point, on a different modem. I surmise that the communication between the Macbook DHCP client and the modem/router's DHCP server is less than 100% effective. Looking at the modem/router, I could see that all of the Macs had active connections. But, instead of showing the names of the Macs, the page showed a star (*) for each Mac. I had to compare Mac addresses to verify the connections. The MAC address, of course, is hard-wired into the computer's network interface. It appears that either the DHCP client didn't know what question to ask when it broadcast for an IP address, or it couldn't interpret the answer. Except in the case of the iMac, which worked perfectly.
    I upgraded the MacPro last, since it is my primary machine. Same story--connection with self-assigned address, which is useless. However, this time, having nothing left to lose, I restarted the modem/router, which presumably dumped any inactive connections and issued new DHCP leases.
    However, I do have a few words for the Apple GENIUSES! The Leopard network preferences page puts me in mind of a maintenance free battery. A few of the older folks will remember when you bought a car battery that had to be filled with distilled water to reconstitute the electrolyte. Then, periodically, you check the level of the liquid in the battery, and added distilled water when required. Adding water was required on occasion because some of the water would boil off under certain conditions. Then, we got the maintenance free battery, which is virtually identical to the older battery design, except that you don't have to perform the maintenance of replenishing the water. It turns out, however, that maintenance free batteries do vent on occasion, and should have water added. But, you can't add water because the battery is sealed. So, the difference between conventional and maintenance free is not that the maintenance free battery doesn't need maintenance, it is that you can't perform the maintenance without voiding the warranty.
    The Leopard network preference page won't let you set the parameters that could restore a connection. If the DHCP client doesn't work automatically, you're stuck.

  • Can't get rid of self assigned IP address

    Hello,
    I have been trying to resolve this problem by myself for the last 4 days (by googling and reading forums) but nothing works so here I am.
    I moved last Tuesday and everything worked fine until that day. Since I am in my new apartment, I can't connect to the Internet because of a self assigned IP address. Here is more info:
    -I have a new modem since I moved (the apartment where I was living was furnished and had a modem already). However, I am using the same service provider and modem than the apartment I was subletting.
    -I only have a modem (no router) and I use the Ethernet to connect.
    -I am writing this message from a PC laptop which confirms that the modem is working fine and that the ethernet cable is fine, etc.
    -I did many rounds of shutting down the computer, renew DHCP, unplugging the modem (from 1 minute to 10 hours) and plugging everything back.
    -I called the ISP but they could not help (they just repeated the same instructions that I could find in the guide)...They have no idea how I can get rid of the self assigned IP address.
    The problem is still the same, I can't get rid of the self assigned IP address (169.xxx).
    Please help if you know other tricks to fix that issue...
    Thanks a LOT in advance!!
    Julie

    Re 1) Setting up a new account won't solve the problem in itself but it will help narrow down the cause. The idea is this: the problem might be caused by something system-wide (e.g. a preference file in /Library/Preferences) or it might be caused by something that is specific to your account (e.g. a preference file in yourhome/Library/Preferences). If we knew which, we could target the troubleshooting appropriately. The easiest way to figure out which is to create a new user, log in as that user and see if the problem remains. If it does, it must be system-wide; if not, it is specific to your account.
    Are you using any firewall software? If you are using Tiger's built-in firewall, how is it configured?
    - cfr

  • Can't connect to internet..self assigned ip address problem with DSL Modem

    I've run into this before, without resolution, and now again on a friend's iMac. Time to ask around...
    Basically, everything appears to be assigned and configured perfectly, but the network status always shows, "...you have a self assigned IP address and may not be able to connect to the internet". Sure can't connect to the net when it says that.
    I've gone thru the procedure advise before that details the sequence of events needed to insure the modem resets and recognizes the Mac and it's incoming DSL (sbcglobal) signal. The order of network priority is set properly by dragging built in ethernet to the top of the list. Modem was powered down, plugged in, and then connected to the Mac, but no solution. Any ideas? thanks

    This continues to be a mystery. I've had my powerbook on several networks, and connection has, most of the time, been an automatic process. Additionally, I've installed new systems for people with the same isp, and all has been well. So easy is the process, it's never been an issue. However, following explicit procedural instructions (including powering the Mac down), has proven unsuccessful on 2 different occasions.
    There is little help with the isp support in India, which is where the call routes too.
    The only thing I have not done is to swap out the cable at one of the locations, but the other location, which has the same issue, works fine on the iMac there. Only when I connect my Powerbook to the modem, does the "...self assigned ip address...not be able to connect to the internet" appear.
    I just keep thinking there has got to be a small detail that is being overlooked.

  • Ethernet cord has a self assigned IP address, can this be changed?

    I am trying to connect my laptop to my Xbox 360 so I can get on Xbox Live using my computers wireless as a gateway... but the ethernet cord has a self assigned IP address and won't work.. I've tried everything to change it and it still won't connect with my router. It is a cisco router.

    Welcome to Apple Support Communities
    You stand a better chance of a connection if you set the Ethernet interface to DHCP and have it be assigned an IP number by the Router ...

Maybe you are looking for