Newbie with one small question

im brand new to cisco, and ive just purchased a catalyst 1900 to start learning on.
im trying to get some switching started, and i cant seem to get things working.
what i did was create an ip address for the switch, which is the same ip address for interface 0/1. interface 0/1 goes to the gateway router and then out to the internet(so that we are clear, switch ip = interface 1 ip). the gateway has a static ip, and i have 5 allocatable statics(sticky ip) after that. so the switch has its own static ip(i made sure to set the ip default-gateway on the cisco switch).
i then set interface 2 ip to a different ip address and then connected that to a linux system with that static ip.
from the linux box, i can successfully ping the switch, the gateway, and anything else with an ip address. but i cant seem to get internet access on this linux box. i can successfully ping, but when i fire up the browser, i get nothing.
any ideas. i really appreciate it. i know theres something that im missing. ive got my book in front of me and ive followed all of the steps, but this stuff is all written for simulations, so its a little different.
thanks a ton.

ok, turns out i cant ping out on the internet.
i can tell you what commands ive entered
ok, the gateway is xxx.xxx.xxx.238
i have 5 other ip's, 233 - 237
i have the cable going from the gateway switch into the first port on the switch. theres another ethernet cable going from port 2 to the linux box.
into the switch:
ip address xxx.xxx.xxx.236 255.255.255.248
ip default-gateway xxx.xxx.xxx.238
interface ethernet 0/1
ip address xxx.xxx.xxx.236
exit
interface ethernet 0/1
ip address xxx.xxx.xxx.237
then into the linux box,
ifconfig eth0 xxx.xxx.xxx.237 netmask 255.255.255.248 broadcast xxx.xxx.xxx.255
from the linux box, i can successfully ping the switch and another computer that has been assigned a static ip that is connected into the gateway switch, not the cisco switch. i can successfully ping the linux box from that computer, so i can successfully send a ping from a windows computer to the gateway switch, to the cisco switch, and then to the linux box.
i cannot ping anything beyond the gateway switch.
any help would be great. i know this has to be a simple problem, sorry.

Similar Messages

  • 6506/with Sup720 small question about the sup720

    On the sup720 there are 2 fiber ports and one other port that looks like a fast Ethernet port. However, to use this FastE do I configure this port as a vlan?
    What is the significance of this interface?

    Hi Sandra,
    the sup270 has two Gigabit Ethernet ports, one Small Form-Factor Pluggable (SFP) and one selectable SFP or 10/100/100 RJ-45, so only two of the three ports can be active at any one point in time.
    You can configure this as documented below
    CatOS:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/sw_8_5/confg_gd/ether.htm#wp1038398
    IOS:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/122sx/swcg/sup720.htm#wp1051988
    HTH,
    Bobby
    *Please rate helpful posts

  • Newbie with JSP & JDBC questions

    Hi. I have a quick question. I have a client jsp page with a table, listing all the fields from my mySQL table called kellybclients. At the end of each row, I also have a submit button that I would like navigate the user to the campus jsp page that only shows the data associated with the client who's button they clicked on in the table. I'm trying to figure out how to pass this data from my JSP into the rowset.setCommand method in my connection/data bean. I am using a cached row set. Here's the code from my bean:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package ETS;
    import java.sql.SQLException;
    import javax.sql.rowset.CachedRowSet;
    import java.util.ArrayList;
    import com.sun.rowset.CachedRowSetImpl;
    public class CampusDataBean {
        private CachedRowSet rowSet;
      public CampusDataBean() throws Exception
        Class.forName("com.mysql.jdbc.Driver");
        rowSet = new CachedRowSetImpl();
        rowSet.setUrl("jdbc:mysql://traderseven.nmsu.edu/is470Spring08?relaxAutoCommit=true");
        rowSet.setUsername("is470Spring08");
        rowSet.setPassword("1DoNtier");
        rowSet.setCommand("SELECT campid, clientid, campname,campcounty FROM kellybCampus WHERE clientid=?");
        CampusBean camp = new CampusBean();
        rowSet.setString(1, camp.getClientID());
        rowSet.execute();
      public ArrayList<CampusBean> getCampusList() throws SQLException
        ArrayList<CampusBean> campusList = new ArrayList<CampusBean>();
        rowSet.beforeFirst();
        while(rowSet.next())
          CampusBean campus = new CampusBean();
          campus.setCampID(rowSet.getString(1));
          campus.setClientID(rowSet.getString (2));
          campus.setCampName(rowSet.getString(3));
          campus.setCounty(rowSet.getString(4));
          campusList.add(campus);
        return campusList;
    public void addCampus(CampusBean campus) throws SQLException
        rowSet.moveToInsertRow();
        rowSet.updateString(1,campus.getCampID());
        rowSet.updateString(2,campus.getClientID());
        rowSet.updateString(3,campus.getCampName());
        rowSet.updateString(4,campus.getCounty());
        rowSet.insertRow();
        rowSet.moveToCurrentRow();
        rowSet.acceptChanges();
    }I'm sorry if this is too vague. I'd appreciate any help, fixes, or pointers on where to learn how to do this. Thank you again.
    KellyJo

    So the button should be a Submit button for a form. There are a couple of different methods for doing this:
    1) Each row on the table can be a different form, each form uses the same action (servlet) target and has a hidden input with a unique identifier for each of the clients:
    <table>
      <tr><form action="selectClient" method="post"><td> etc </td><td><input type="hidden" name="id" value="1"/><input type="submit"/></td></form></tr>
      <tr><form action="selectClient" method="post"><td> etc </td><td><input type="hidden" name="id" value="2"/><input type="submit"/></td></form></tr>2) Use a single form with a button type=submit for each row with different values (Note: This is broken in IE7 so you probably shouldn't use it)
    <table><form action="selectClient" method="post">
      <tr><td> etc </td><td><button type="submit" name="id" value="1">Submit</button></td></tr>
      <tr><td> etc </td><td><button type="submit" name="id" value="2">Submit</button></td></tr>3) Use a single form, have a hidden value with a blank value. Each row has a submit button with a javascript onclick method that sets the form's hidden value to one appropriate to the row, then submits the form. I won't show you this code but there are examples on the web.
    4) Use a single form with an input="submit" element on each row. Each button would have a different name with the ID info encoded in it, then you would have server-side code that takes parameters, finds the right one and parses out the proper row to edit:
    <table><form action="selectClient" method="post">
      <tr><td> etc </td><td><input type="submit" name="submit__id_1"/></td></tr>
      <tr><td> etc </td><td><input type="submit" name="submit__id_2"/></td></tr>I think most people end up doing some variant of 3, which I don't like because I hate to rely on JavaScript to make my web apps work properly. I would prefer 4, which takes more work on the server side (which I like better) but 1 works just as well with a lot more typing and uglier HTML code. Actually, I would like 2 the best because that is pretty much what the <button> element was designed for, but Microsoft screwed that up.

  • PS CC newbie with layer translate question

    I am a newbie in PS. Currently I am using Adobe PS CC, in which I want to merge quite a number of images together to form a "collage". Those images are already named with coordinates, like (0, 1).png with size 1280 x 1280 pixel, and I already load all of them into a PS document by photomerge. I suppose each of them is contained in a independent layer, and I can use free transform to move those layers to my required position such that those images can resemble into a large image like a puzzle. When the number of layers is large, doing this by hand is really a tedious work. So I want to automate it with the script. I have try the following script and run it, but without any response; please correct me as I am new (and also new in JavaScript as well)
    # target photoshop
    function Main()
         MoveLayerTo = function(l, x, y) {
               var b = l.bounds;
               var x1 = b[0].as("px");
               var y1 = b[1].as("px");
               var x2 = b[2].as("px");
               var y2 = b[3].as("px");
               var xc = x1 + (x2-x1)/2;
               var yc = y1 + (y2-y1)/2;
               l.translate(x-xc, y-yc);
      var i = 0;
      var j = 0;
      for (i = -6; i < 3; i++) {
      for (j = 3; j > -11; j--) {
      MoveLayerTo(app.activeDocument.layers.getByName("(" + i + ", " + j + ").png"), new UnitValue(640 +  (i + 6) * 1280, "px"), new UnitValue(640 + (3 - j) * 1280, "px"))

    Photo Collage Toolkit
    Photoshop scripting is powerful and I believe this package demonstrates this A video showing a 5 image collage PSD template  being populates with images:
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    Size the photo collage templates for the print size you want - width, height and print DPI resolution.
    Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
    Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
    Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.
    There are twelve scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.
    Documentation and Examples

  • One small question

    What does buying a refurbished iBook mean?

    I assume you are referring to the products that are available via the Apple Store.
    Here's Apple's defination taken right off of that web sight:
    "Apple Certified Refurbished Products
    Listed below are great deals on Apple Certified Refurbished products. Apple Certified Refurbished products are pre-owned Apple products that undergo Apple's stringent refurbishment process prior to being offered for sale. All Apple Certified Refurbished products are covered by Apple's One-Year Limited Warranty. For extended coverage, you have the option of purchasing the AppleCare Protection Plan with your Apple Certified Refurbished product. For your convenience, we have placed the appropiate AppleCare Protection Plan at the bottom of each Apple Certified Refurbished product collection."

  • Replaced HD with one small mishap

    I just replaced my original 80GB 4500 hard drive with a new Seagate 160GB 5400. I followed the iFixit instructions to the letter, and everything seems great. (I'm writing this post on the computer with the new hd.)
    The only problem was when I was loosening the keyboard ribbon clamp. One of the tiny, plastic side arms that holds the black locking bar broke off right on the end. I was still able to achieve a good, snug fit of the keyboard ribbon back into the connector, as one side of the clamp locks fine... However, the other side, though the black locking bar does fit in fairly securely, is not able to lock in completely.
    As I said, it's working fine so far. I guess my concern is... Will it loosen itself over time? Should I be concerned enough to have it repaired? And what exactly would happen if the keyboard ribbon did become partially disconnected?
    Thanks much for any feedback.

    Hello - Just for future reference if you ever need to replace the harddrive again. When I did mine using those excellent IFIXIT directions, I tried the removal of those tiny plastic clips holding the keyboard strap, and immediately saw pitfalls ahead. Avoiding the step entirely, I propped the keyboard up against the display, replaced the harddrive, reset the keyboard, and was done. Much easier and 'safer'than including that one step.

  • IMovie newbie with problems and questions

    I first posted this in iMovie 9 which was incorrect. I am at iMovie version 6.0.3.
    I am new to iMovie and am struggling with my first project. My current problem is with transitions and playback. I have added a transition between my first and second clips and it shows in the clip viewer. However, when I click on the first clip and click play the clip plays to it's end but the transition does not start. If I then click on the transition and click play it goes through the transition but the next clip doesn't start to play. In fact, none of the clips play unless I click on the specific clip and click play. I would expect the entire movie to play from start to finish. Am I missing something? The iMovie Getting Started instructions are not very helpful
    Thank you
    John

    Sorry guys (Klaus and Karsten). I didn't look thoroughly enough (most unlike me)! When the iMovie Help window appears (following the link Klaus provided), it is blank. But then I clicked on the Home button - the middle icon shaped like a house at the top left of the window. Immediately, the Help Index appeared from which I could access all the items.
    How embarrassing - I should have known better, having used Help many times in the past (in all versions of iMovie).
    Apologies also for my comment about Apple removing Support articles! I think baby sitting yesterday threw me off a bit
    For the benefit of other users (including John Hendrie, the OP), this is the link we are talking about (as kindly provided by Klaus): http://docs.info.apple.com/article.html?path=iMovie/6.0/en/imv1096.html
    John
    Message was edited by: John Cogdell

  • Simultaneous hash joins of the same large table with many small ones?

    Hello
    I've got a typical data warehousing scenario where a HUGE_FACT table is to be joined with numerous very small lookup/dimension tables for data enrichment. Joins with these small lookup tables are mutually independent, which means that the result of any of these joins is not needed to perform another join.
    So this is a typical scenario for a hash join: the lookup table is converted into a hashed map in RAM memory, fits there without drama cause it's small and a single pass over the HUGE_FACT suffices to get the results.
    Problem is, so far as I can see it in the query plan, these hash joins are not executed simultaneously but one after another, which renders Oracle to do the full scan of the HUGE_FACT (or any intermediary enriched form of it) as many times as there are joins.
    Questions:
    - is my interpretation correct that the mentioned joins are sequential, not simultaneous?
    - if this is the case, is there any possibility to force Oracle to perform these joins simultaneously (building more than one hashed map in memory and doing the single pass over the HUGE_FACT while looking up in all of these hashed maps for matches)? If so, how to do it?
    Please note that the parallel execution of a single join at a time is not the matter of the question.
    Database version is 10.2.
    Thank you very much in advance for any response.

    user13176880 wrote:
    Questions:
    - is my interpretation correct that the mentioned joins are sequential, not simultaneous?Correct. But why do you think this is an issue? Because of this:
    which renders Oracle to do the full scan of the HUGE_FACT (or any intermediary enriched form of it) as many times as there are joins.That is (should not be) true. Oracle does one pass of the big table, and then sequentually joins to each of the hashmaps (of each of the smaller tables).
    If you show us the execution plan, we can be sure of this.
    - if this is the case, is there any possibility to force Oracle to perform these joins simultaneously (building more than one hashed map in memory and doing the single pass over the HUGE_FACT while looking up in all of these hashed maps for matches)? If so, how to do it?Yes there is. But again you should not need to resort to such a solution. What you can do is use subquery factoring (WITH clause) in conjunction with the MATERIALIZE hint to first construct the cartesian join of all of the smaller (dimension) tables. And then join the big table to that.

  • Why does disc show as filled with only one small file added?

    I'm also new to Apple.  I've a MacBook Pro - Snow Leopard 10.6.8.  I've checked the documentation and help information and followed the instructios.  The blank CD-R  shows as (CD-R;  BLANK - Yes; ERASEABLE - Yes; OVERWRITABLE - Yes; APPENDABLE- yes).  I wrote one small file to the CD using the Burn Folder.  The file was on the CD, but all available space was used with zero remaining.   The disc is not erasable.  One response to an earlier question to look for multisesson recorder and select leave disc appendable or look for a triangle in top right.  Could not find this.  I'm sure this is another area where I'm just looking in the wrong place for instruction.  Any help is appreciated.

    See these instructions:
    https://discussions.apple.com/thread/1515120
    Note, you will likely have to start with a new blank CD.  Once burnt without appendability selected, it often can't be appended in the future.

  • Magic Mouse  question. I have set this in Preferences by ticking Swipe between pages with  one finger and also Swipe between full-screen apps with two fingers,  however when I try to do the latter, the 2 finger swipe will take me only to the dashboard and

    It's a Magic Mouse question. I have set this up in Preferences by ticking Swipe between pages with one finger and also Swipe between full-screen apps with two fingers,  however when I try to do the latter, the 2 finger swipe will take me from the app that I am on to the dashboard only and not to my other open apps.
    I also find that Smart zoom only works with some apps, for instance not with Word docs or email.
    How can I correct this please?

    Just figured out it also does not work with the Mail app.

  • My iPad keyboard divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?a

    My iPad keyboard (spontaneously?) divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?

    You can also turn OFF Split Keyboard
    Settings>General>Keyboard>Split Keyboard>OFF

  • I asked a question about organizing bookmarks in my toolbar bookmark. I'm not happy with the "help" I got. I'm very frustrated. I need to talk to a technician. How can I get in touch with one? Do you have contact information?

    Can't find out how to organize my bookmarks. can't do it after updating. Person tried to help, we had long conversations, I sent lots of images, it got to where I think the answer given were not related to the problem. I asked for help from a technician or to give my emails to one. She won't do it and I can't get help. So I'm starting over. It shouldn't be this hard. I need someone else to help me.

    re: How do I organize and delete bookmarks in my short toolbar list.
    * https://support.mozilla.com/en-US/questions/884877
    You say you have a lot of duplicate bookmarks, and want to know how to organize bookmarks, but from the pictures shown, I really only see a news subscription, some sample bookmarks in the bookmarks toolbar that you don't display on the toolbars so I don't see point in deleting anything there most of it are reports from the database or from a news subscription nothing of much concern, really. I would dump the news subscription if you don't use it.
    How do you want to arrange your bookmarks, but you must keep within some boundaries of what was expected of the three major folders.
    Bookmarks Menu -- this is your folder categorized bookmarks, originally all bookmarks were in this folder and the bookmarks toolbar was one folder within -- that has changed.
    Bookmarks Toolbar -- intended to be visible on the toolbar with main bookmarks and folders spread out horizontally to save one level of drilling down into folders, with very few bookmarks and folders visible on the toolbar but quickly accessed. You can use the bookmarks showing essentially as buttons a few primary bookmarklets. You can have folder structure there so you could actually have thousands of bookmarks there within folders.
    Unsorted Bookmarks (no folders within by intent not by restriction) -- new concept to not categorize bookmarks into folders because of bookmark tagging. Delicious.com will show you what they intended where you have lots of people. I think the concept of tagging breaks down with one person. The other reason bookmarks no longer had to be put into folders was the "AwesomeBar" feature of Firefox that is a great feature it will find bookmarks whatever folder they are in -- I hope you are familiar with it. You can throw bookmark separators into any folder but they are especially useful in the unsorted bookmarks folder, especially if you sort the folder. In other words a group probably within a date range.
    So how do you see yourself categorizing your bookmarks ?
    I'd like to get an idea of '''how many bookmarks '''you have altogether and how big your places.sqlite file is. To find out how many bookmarks you have all together bring up the Bookmarks Library list, place a colon (":") into the search field this will do a find on all of your bookmarks. At the bottom of the library window you will see the total number of bookmarks you may have to nudge the vertical scrollbar down, and as long as no bookmarks are selected you will see an '''item count'''.
    Open your profile folder Help > Troubleshooting information... then click on "Open containing folder" then looking in bookmarkbackups folder and report size of last .json file in there -- hope you can see the extension the filenames have dates.
    From the library list you can see if you actually do have a lot or any duplicated by eyeballing the list sorted by the location. You don't want to delete anything yet until you know what you want to do and what folders the bookmarks actually in, as you would not want to delete a categorized bookmark for an uncategorized one.
    I have 1256 bookmarks, a bookmarks backup file (.json) is 1849 KB.
    I have 750 of those bookmarks have a keyword shortcut -- most of my bookmarks may not actually be bookmarks to webpages.
    Install the "Show Parent Folder" extension, it would be important for manually categorizing and deleting bookmarks.
    *https://addons.mozilla.org/firefox/addon/show-parent-folder/
    At some point you will want to install the "Sort Places" extension that allows you to sort folders recursively in a matter of seconds. Only sort when you want to sort, never automatically.
    * https://addons.mozilla.org/firefox/addon/sortplaces/
    Other extensions of interest for working with bookmarks are included in
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    The columns in the bookmarks library list that I show are
    :Name, Location, Parent Folder, visit date, visit count, Keyword, Description, Last Modified
    The important columns for eliminating duplicates are
    :Name, Location, Parent Folder, Keyword, Description
    :if you have Tags then that column would also be important not to delete the bookmark
    Sort on Location look for duplicates, expect you won't find as many as you thought you would, because Firefox makes it difficult to create duplicates if you use the bookmarks star. I wouldn't delete any until you really know what you want to do, if you have duplicate you would not want to delete one a primary location based on parent directory or the one you use with a keyword.
    I don't really think you have much to delete in your toolbars list, they are basically examples. Would highly recommend you keep something in the bookmarks toolbar even though you are not displaying it.
    The only case of having major duplicates are if you have imported bookmarks at the bottom of your bookmarks menu also named bookmarks menu or something similar. You would see that in the parent folder column -- you cannot sort on the parent folder column.

  • TS3218 My iPod Nano 6th generation fell one time and it kept working with a small crack in the screen.But after a while it just gave out and does not turn on.I try to charge it and all it does is blink the apple icon on and off.When disconnected nothing h

    My iPod Nano 6th generation fell one time and it kept working with a small crack in the screen.But after a while it just gave out and does not turn on.I try to charge it and all it does is blink the apple icon on and off.When disconnected nothing happens.

    I am having the identical trouble as described above with my month old Macbook Air. I tried everything with the ditto results. Please help anyone!
    Mine is a Macbook Air 13', 128GB, 1.86GHz with 4 GB RAM.

  • ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    mardemar wrote:
    ... - the only one without an x delete button.
    What is the name of this App and where did you get it...?

  • Hi all, I'm still having problems with my security questions as they were not the ones I answered. Now I'm confused

    Still having problems with my security questions as they were not the ones I answered and now I'm confused.

    Howdy Paul,
    If you are having an issue with your Apple ID security questions, you can reset them using the steps in this article -
    If you forgot the answers to your Apple ID security questions - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

Maybe you are looking for