Suggestions on DHCP using cascading switches

Is there any reason you can't create a different vlan and create a new scope for that vlan on your current dhcp server along with helper addresses on your switches? It seems you're over complicating things as of right now.

gents,we like to provide a WLAN Network for guests in our Company which is connected through a different Provider than our internal Network.I connected the incoming hardline to one router - providing WLAN #1 with DHCP.I like to route it to two floors, using the LAN environment.I have only ONE line available to get the Provider to our Switch-rack.My idea is to connectthe LAN-port of WLAN-Router #1 to the Switch rack and attach another WLAN-Routers to the other floors.My question is: what is the best way to provideDHCP ?a) Router#1 is doing DHCP and all connected secondary routers are just passing through.b) every Router is doing DHCP for himselfI once read that there could be Problems using cascading Switches/Routers. Any enlightment here?
This topic first appeared in the Spiceworks Community

Similar Messages

  • Using a Switch statement for Infix to Prefix Expressions

    I am stuck on the numeric and operator portion of the switch statement...I have the problem also figured out in an if/else if statement and it works fine, but the requirements were for the following algorithm:
    while not end of expression
    switch next token of expression
    case space:
    case left parenthesis:
    skip it
    case numeric:
    push the string onto the stack of operands
    case operator:
    push the operator onto the stack of operators
    case right parenthesis:
    pop two operands from operand stack
    pop one operator from operator stack
    form a string onto operand stack
    push the string onto operand stack
    pop the final result off the operand stack
    I know that typically case/switch statement's can only be done via char and int's. As I said I am stuck and hoping to get some pointers. This is for a homework assignment but I am really hoping for a few pointers. I am using a linked stack class as that was also the requirements. Here is the code that I have:
       import java.io.*;
       import java.util.*;
       import java.lang.*;
    /*--------------------------- PUBLIC CLASS INFIXTOPREFIX --------------------------------------*/
    /*-------------------------- INFIX TO PREFIX EXPRESSIONS --------------------------------------*/
        public class infixToPrefix {
          private static LinkedStack operators = new LinkedStack();
          private static LinkedStack operands = new LinkedStack();
            // Class variable for keyboard input
          private static BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
             // Repeatedly reads in infix expressions and evaluates them
           public static void main(String[] args) throws IOException {
          // variables
             String expression, response = "y";
          // obtain input of infix expression from user
             while (response.charAt(0) == 'y') {
                System.out.println("Enter a parenthesized infix expression.");          // prompt the user
                System.out.println("Example: ( ( 13 + 2 ) * ( 10 + ( 8 / 3 ) ) )");
                System.out.print("Or as: ((13+2)*(10+(8/3))):  ");
                expression = stdin.readLine();     // read input from the user
             // output prefix expression and ask user if they would like to continue          
                System.out.println("The Prefix expression is: " + prefix(expression));     // output expression
                System.out.println("Evaluate another? y or n: ");          // check with user for anymore expressions
                response = stdin.readLine();     // read input from user
                if (response.charAt(0) == 'n') {          // is user chooses n, output the statement
                   System.out.println("Thank you and have a great day!");
                }     // end if statement
             }     // end while statement
          }     // end method main
       /*------------- CONVERSION OF AN INFIX EXPRESSION TO A PREFIX EXPRESSION ------------*/ 
       /*--------------------------- USING A SWITCH STATEMENT ------------------------------*/
           private static String prefix(String expression) {
                // variables
             String symbol, operandA, operandB, operator, stringA, outcome;
               // initialize tokenizer
             StringTokenizer tokenizer = new StringTokenizer(expression, " +-*/() ", true);     
             while (tokenizer.hasMoreTokens()) {
                symbol = tokenizer.nextToken();     // initialize symbol     
                switch (expression) {
                   case ' ':
                      break;     // accounting for spaces
                   case '(':
                      break;     // skipping the left parenthesis
                   case (Character.isDigit(symbol.charAt(0))):      // case numeric
                      operands.push(symbol);                                   // push the string onto the stack of operands
                      break;
                   case (!symbol.equals(" ") && !symbol.equals("(")):     // case operator
                      operators.push(symbol);                                             // push the operator onto the stack of operators
                      break;
                   case ')':
                      operandA = (String)operands.pop();     // pop off first operand
                      operandB = (String)operands.pop();     // pop off second operand
                      operator = (String)operators.pop();     // pop off operator
                      stringA = operator + " " + operandB + " " + operandA;          // form the new string
                      operands.push(stringA);
                      break;
                }     // end switch statement
             }     // end while statement
             outcome = (String)operands.pop();     // pop off the outcome
             return outcome;     // return outcome
          }     // end method prefix
       }     // end class infixToPrefixAny help would be greatly appreciated!

    so, i did what flounder suggested:
             char e = expression.charAt(0);
             while (tokenizer.hasMoreTokens()) {
                symbol = tokenizer.nextToken();     // initialize symbol     
                switch (e) {
                   case ' ':
                      break;     // accounting for spaces
                   case '(':
                      break;     // skipping the left parenthesis
                   case '0':
                   case '1':
                   case '2':
                   case '3':
                   case '4':
                   case '5':
                   case '6':
                   case '7':
                   case '8':
                   case '9':
                      operands.push(symbol);     // push the string onto the stack of operands
                      break;                               // case numeric
                   case '+':
                   case '-':
                   case '*':
                   case '/':
                      operators.push(symbol);     // push the operator onto the stack of operators
                      break;                               // case operator
                   case ')':
                      operandA = (String)operands.pop();     // pop off first operand
                      operandB = (String)operands.pop();     // pop off second operand
                      operator = (String)operators.pop();     // pop off operator
                      stringA = operator + " " + operandB + " " + operandA;          // form the new string
                      operands.push(stringA);
                      break;
                   default:
                }     // end switch statement
             }     // end while statement
             outcome = (String)operands.pop();     // pop off the outcome
             return outcome;     // return outcomeafter this, I am able to compile the code free of errors and I am able to enter the infix expression, however, the moment enter is hit it provides the following errors:
    Exception in thread "main" java.lang.NullPointerException
         at LinkedStack$Node.access$100(LinkedStack.java:11)
         at LinkedStack.pop(LinkedStack.java:44)
         at infixToPrefix.prefix(infixToPrefix.java:119)
         at infixToPrefix.main(infixToPrefix.java:59)
    Any ideas as to why? I am still looking through seeing if I can't figure it out, but any suggestions? Here is the linked stack code:
        public class LinkedStack {
       /*--------------- LINKED LIST NODE ---------------*/
           private class Node {
             private Object data;
             private Node previous;
          }     // end class node
       /*--------------  VARIABLES --------------*/
          private Node top;
      /*-- Push Method: pushes object onto LinkedStack --*/     
           public void push(Object data) {
             Node newTop = new Node();
             newTop.data = data;
             newTop.previous = top;
             top = newTop;
          }     // end function push
       /*--- Pop Method: pop obejct off of LinkedStack ---*/
           public Object pop()      {
             Object data = top.data;
             top = top.previous;
             return data;
          }     // end function pop
       } // end class linked stackEdited by: drmsndrgns on Mar 12, 2008 8:10 AM
    Edited by: drmsndrgns on Mar 12, 2008 8:14 AM
    Edited by: drmsndrgns on Mar 12, 2008 8:26 AM

  • Can not connect with dhcp - renew dhcp lease will switch directly to manuel

    If have the following problem
    I us apple Airport extreme to connect to internet.
    I have 5 Macs, all connecting with airport . They work fine with DHCP. Since 2 weeks I have a problem that one computer – a mac book pro with 10.5.6 will not connect.
    When I switch to dhcp and select renew dhcp lease it switch directly back to manuell. I have no chance to connect with dhcp.
    Has anyone a suggestion?
    Thanks

    Wonder why Apple hasn't chimed in on this one...
    Whenever you have an issue like this where it's fine, then DHCP stops working for any reason.... Reset the PRAM.
    How to:
    Apple Logo -> Restart.
    After the screen goes black -> Hold down all 4 keys until you hear the third Bong.
    "Option"+[Apple Logo OR key to the left of the space bar]"P""R"
    After the third BONG or Apple Chime whatever you want to call it. The system's Parameter Ram or to the PC Crowd the CMOS has been reset. This resets your clock, brightness, volume, etc.... So things will get reset along the way but it also resets the IRQ and DMA stats on the logic board. Ala, reseting your Airport's Connection to the logic board, Controllers, etc.

  • HELP -menu using a switch statement

    Hello to all. I'm new to the Java world, but currently taking my first Java class online. Not sure if this is the right place, but I need some help. In short I need to write a program that gives the user a menu to chose from using a switch statement. The switch statement should include a while statement so the user can make more than one selection on the menu and provide an option to exit the program.
    With in the program I am to give an output of all counting numbers (6 numbers per line).
    Can anyone help me with this?? If I'm not asking the right question please let me know or point me in the direction that can help me out.
    Thanks in advance.
    Here is what I have so far:
    import java.util.*;
    public class DoWhileDemo
         public static void main(String[] args)
              int count, number;
              System.out.println("Enter a number");
              Scanner keyboard = new Scanner (System.in);
              number = keyboard.nextInt();
              count = number;
              do
                   System.out.print(count +",");
                   count++;
              }while (count <= 32);
              System.out.println();
              System.out.println("Buckle my shoe.");
    }

    Thanks for the reply. I will tk a look at the link that was provided. However, I have started working on the problem, but can't get the 6 numbers per line. I am trying to figure out the problem in parts. Right now I'm working on the numbers, then the menu, and so on.
    Should I tk this approach or another?
    Again, thanks for the reply.

  • On my Macbook pro 15 2011, System Profiler is suggesting that it uses SATA III for the hard drive and SATA II for the Optical Drive.  Is that true?

    On my Macbook pro 15, 2011, System Profiler is suggesting that it uses SATA III for the hard drive and SATA II for the Optical Drive.  Is that true?

    That is correct. The tech specs indicate:
    Hard Drive Interface
    6.0 Gbps Serial ATA (SATA)
    Optical Drive Interface
    3.0 or 6.0 Gbps Serial ATA (SATA)

  • I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    You're welcome.
    Going back to your original post:
    5) Tried running Itunes in 'safe mode', running itunes as an administrator..nothing.
    Was that iTunes' safe mode as opposed to Windows' safe mode? iTunes safe mode is invoked by holding down CTRL+SHIFT immediately after clicking the icon to launch iTunes and continuing to hold until this message pops up:
    Click continue, then close iTunes and reopen. With luck iTunes now opens normally every time.
    tt2

  • Apex 3.1.2, unable to use cascaded lovs

    Hi all,
    am using apex 3.1.2
    trying to use cascaded select lists.
    but when trying it, am not able to do it.
    it was working fine till two days back.
    two items,
    1) p14_soft
    select distinct SOFTWARE display_value, SOFTWARE return_value
    from REQUEST_TYPE
    order by 1
    display as : select list
    on changing soft need to populate problem type.
    2) p14_prob
    select REQUEST display_value, REQUEST return_value
    from REQUEST_TYPE
    where upper(software) = upper(:P14_SOFT)
    order by 1
    display as : select list
    i cannt use display as : select list with redirect.
    do i need to use any java scripts for the same ???
    any help..,
    regards,
    littlefoot
    Edited by: Little Foot on Jun 26, 2012 11:00 PM

    Welcome to Oracle Forums !
    Please acquaint yourself with the FAQs , if you have not done so already.
    When posting take care of the following:
    <ul>
    <li>Post you Apex version</li>
    <li>DB edition and version</li>
    <li>Webserver beng used</li>
    </ul>
    Other norms to follow:
    a. Never highjack someone else's thread. Start your own if you have a question
    b. Mark responses Helpful/ Correct, as the case may be
    Responding because this is your first post.
    >
    I followed the example at the link you've posted here but couldn't make it work for me. I would really appreciate if you could answer the following 2 questions regarding the same example.
    (1) In the cursors inside the 2 application processes, I'm not fetching anything that's of type number. In that case, what should I change the following line to:
    HTP.prn ('<option value="' || c.empno || '">' || c.ename || '</option>');
    From what I understand, the <b>"c.empname" in the above line has to be of type number</b>. However, the table I'm querying doesn't have anything of type number.
    >
    Not sure why you started thinking that c.empname has to be number. In fact, it is not a number but a string. And so is the attribute value. The value attribute is the return value while the text in the tag, c.ename, is the display value ,
    See http://www.w3schools.com/tags/att_option_value.asp
    >
    (2) Do the cursors in the 2 applications processes have to be the exact same replicas of the definitions of the 2 select lists? That's how it looks like from the example:
    Select List 2 Definition:
    SELECT ename d, empno r
    FROM (SELECT ename, empno, deptno
    FROM emp
    WHERE empno IN (SELECT mgr
    FROM emp))
    WHERE deptno = :p119_deptno
    Cursor in CASCADING_SELECT_LIST1:
    SELECT ename, empno
    FROM (SELECT ename, empno, deptno
    FROM emp
    WHERE empno IN (SELECT mgr
    FROM emp))
    WHERE deptno = :cascading_selectlist_item_1
    >
    The example has *3* select lists. The first, top level parent, is defined as a normal LoV on the Page. Only the child and grand child are created through application processes.
    The second select list, CASCADING_SELECT_LIST1, is related to the Dept LoV on the page (Top level).
    WHERE deptno = :cascading_selectlist_item_1The above line makes the second LoV dependent / child of Dept LoV.
    The use of empno and ename in this example occurs twice because and employee and the manager are both in the same table. This is just incidental in the example and must not be construed to mean anything more. The only relevant thing for cascading is
    WHERE mgr = :cascading_selectlist_item_2The above makes the 3rd LoV the Child of the 2nd LoV.

  • When i buy a song, i no longer get "similar" suggestions. I used to, and now don't. I liked that feature, how do i get it back on?

    When I buy a song, I no longer ger similar suggestions.  I used to, but no longer do.  I liked that feature how can i get it back?

    Hi!  It was a library book and I first downloaded it to my computer, then tranferred it to my Ipod via USB cable.
    It appears on my Ipod menu under Music - Audiobooks and also under Playlists where the book title appears with 10 songs under the name.
    However, it does not show up at all on my computer screen under my Library music listings either on the left side where the playlists are listed or on the right where the individual songs and artists, etc. are listed.
    At this point my setting is on manaully manage music.  If I change that now in order to download and buy a song, my book will get deleted from the Ipod.

  • Using multiple lines of query in sqlcmd using -q switch

    Hello
    I am trying to use sqlcmd to run a set of sql statements. If I use -i switch and input a file with sql statements, it is working fine, but I am trying to use the sql statements using -q to avoid the creation of the input file. But I am not having luck with
    -q, can someone let me know if putting multiple lines of code is possible in -q switch like below?
    A simple restore command like below. If I use the whole restore command in single line it works fine like below:
    sqlcmd -E -S servername -d master -Q "restore database bestst_test from disk='E:\Backup\test\bestst\bestst_20101222.bak' with move 'BESMgmt415_data' to 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\bestst_test.mdf',move 'BESMgmt415_log'
    to 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\bestst_test_log.ldf' "
    but if I split the restore command into 3 lines like below, it fails, can someone let me know how to use the multiple line feature in sqlcmd -q switch?
    sqlcmd -E -S servername -d master -Q "restore database bestst_test from disk='E:\Backup\test\bestst\bestst_20101222.bak'
    with move 'BESMgmt415_data' to 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\bestst_test.mdf',
    move 'BESMgmt415_log' to 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\bestst_test_log.ldf' "

    Well actually there is a way, in command prompt you can you the carat character (^) to indicate that there is more lines. So in your restore case:
    sqlcmd -E -S servername -d master -Q ^
    "restore database bestst_test from disk='E:\Backup\test\bestst\bestst_20101222.bak' ^
    with move 'BESMgmt415_data' to 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\bestst_test.mdf', ^
    move 'BESMgmt415_log' to 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\bestst_test_log.ldf' "
    I must say, it is abit of a hassle (since there are several restrictions to how you need to break the line), and you actually better off using the input file for this.
    Thank you
    Lucas

  • Using Cascading Dropdown Boxes

    hi all:
          how to using Cascading Dropdown Boxes in visual composer?

    not clearly understand what i mean?
    for example there are two drop-down list,when I choose one for product group ,then in the second one only i can choose the product of the group i choose.

  • How to create  Auto suggestion component by using of ADF tag

    Hi ,
    In my project, I am using the ADF frame work and I need to use the auto suggestion component.
    Can any body suggest me how to create Auto suggestion component by using of ADF tag.
    Waiting for your valuable suggestions...

    Try this forum:
    JDeveloper and ADF
    You might get a lot more response.
    Jan Kettenis

  • My ipad 2 won't rotate. i tried reseting it severally my "Use Side Switch" is set to Mute and there is no rotation lock sign close to the battery sign in the upper right side

    my ipad 2 won't rotate. i tried reseting it severally my "Use Side Switch" is set to Mute and there is no rotation lock sign close to the battery sign in the upper right side

    The software switch is in the task bar at the bottom. Double tap the home button and swipe to the right in the bottom of the screen. The speaker icon on the left would be where the software switch would be.
    If you don't see a lock icon in the upper right corner, the screen isn't locked, reboot your iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Using cascade -- Help

    could someone explain to me how to use cascade in ejb3
    I have the following: A --> B --> C --> D --> E (I need A for B and I need B for C ..etc)
    I created a method called deleteC()
    if I want to delete C .. then how can I delete all of its constraints.
    I am using EJB3 ... so no transactions needed.
    example:
       deleteC(object){
                find(object);
                if(object found){
                    em.remove(object);
                    em.flush();
            }

    Have a look at the cascade of the @onetomany
    Simon

  • My phone(4s) switches off automatically at 20% and doesnt start till i cahrge it,and once i put it on charge it shows batterl level 28%,earlier my battery wud drain till 1% then it used to switch off please help

    my phone(4s) switches off automatically at 20% and doesnt start till i cahrge it,and once i put it on charge it shows batterl level 28%,earlier my battery wud drain till 1% then it used to switch off please help

    These are usually the features of a faulty battery. Restore iPhone Firmware with iTunes 10.7 or 11 on computer. See if better. If not, and there is Warranty or AppleCare make Genius reservation and take iPhone to Apple for resolution. If no Coverage, still make Genius reservation and take iPhone to Apple Store for free quick (minutes time) battery diagnostic testing.

  • Connecting 300 IP Cameras using Cisco Switches

    Require help on a Case study. (Can only use Cisco switch)
    Description:
    This is a setup required for 300 security cameras.
    So availability and redundancy is important.
    I have calculate the bandwidth using [URL="http://www.jvsg.com/download/IPDesignToolSetup.zip"]this software[/URL].
    If each camera is set to 5MP and H.264-10, Bandwidth is 12.08Mbit
    So 300 cameras will require at least 3624.96Mbits in total.
    (correct me if i am wrong)
    Each NVR has 32 port.
    It will be just connecting within a LAN.
    Here is the brief 2 possible design I have draft out, but I am not sure which model and series of cisco switch to be use??
    Design 1:
    Design 2:
    Please advise which model and series can be used for this 2 two of design.

    Hello Chun,
    you need to accomodate 300 cameras and 32 ports for each network video recorder.
    data flows are from cameras to network video recorder ports.
    The amount of traffic per port at port connected to cameras is not huge and total traffic from cameras exceed GE links
    48 * 12,08 =       ?? in any case less then     < 1 Gbps
    You can deploy a hierarchical network design with an access layer made of switches with fixed configuration 48 ports and GE uplinks like a C3750 with 48 ports or  a 2960 with 48 ports (if it exists)
    Each access layer switch needs to have two uplinks to distribution switches
    And you need 300/48 switches => 7 switches     => 7 GE uplinks on each distribution switches
    Distribution switches should be two and should be able to connect to access layer switches and to NVR that requires 32 ports each.
    Different solutions are possible:
    instead od deploying 7 standalone switches with 48 ports each you could use two modular C4507 equipped with  WS-4548 48 10/100/1000 linecards
    the distribution switches can be two C3750 E, eventually configured and connected as a stack, to allow to use both uplinks of each access layer switch
    Hope to help
    Giuseppe

Maybe you are looking for

  • I have to load a specific version of Firefox to access this web site

    I am using the k12 online school program. I get this error message: "This website currently only supports Microsoft Internet Explorer 7.0 or 8.0 (IE 9.0 is not supported) and Firefox 3.x. Your browser is currently not supported." I am using a Mac and

  • Multiple logins from the same site not working with iCloud Keychain

    Hello all, I am trying to use the iCloud Keychain with my iPhone and iPad. I use a website that has two different logins, each with its own password. On Mavericks, I am able to select the correct username/password from my iCloud Keychain by pressing

  • My trash can won't open up

    When I click on my little trash can icon, Finder becomes the active application but it doesn't open. It just started doing this randomly. Anybody have any suggestions?

  • Async client with Soap Header (jax-wsi 2.0)

    Hi my name's Michele i have a problem! I developed simply ws with JWSDP 2.0 (jax-wsi) I use wsimport for generate artifcats (with XAdditionalHeader), but for Method Async i don't have object for header, in other words i have this situation 1)Proxy wi

  • Print out calender

    Help Please. How do i get a print off of my calender on my iphone, or tranfer it to my computer. i have windows XP. i'm happy to export it to an online site - anything - i just want to get a hard copy of the calender on my phone.