Using ip-helper without using DHCP functionality
Hello,
I am fairly new to Cisco, and am after a bit of help.
My scenario:
We have a new domain setup on a new VLAN (3), seperate from our current infrastructure VLAN (2).
The new domain controllers provide DHCP for our new servers, and I would also like them to handle DHCP for wireless clients.
We have one DHCP scope 10.0.0.0 255.255.0.0, and I would like to assign all wireless clients an IP in the 10.0.6.0 range.
My thinking on the best way to do this, is with a DHCP policy, that looks at the relay agent information.
I would then set the ip-helper address, on the port the wireless access point is connected to on the Cisco, to point to the DHCP server.
Then for that same port, I would seb a subscriber id in the relay agent information, and use this string to set the IP assigned to that device.
Looking into doing this, it seems the Ciscos DHCP functionality has to be turned on in order to use ip-helper.
In my config, I cannot tell if DHCP is enabled or not, I can see neither "service dhcp", nor "no service dhcp" in the config.
Assuming I were to turn it on using "service dhcp", can I then leave the actual functionality turned off? i.e. turn on the DHCP service, but not have it assign IP addresses?
Also, does turning it on cause any downtime or disruption?
I think I have to run these commands:
conf t
service dhcp
interface GigabitEthernet2/40
Ip helper-address 10.0.0.1
Ip dhcp relay information option-insert
Ip dhcp relay information option subscriber-id “wireless”
I know these are probably simple questions, so please forgive my ignorance.
James
Ok here goes.
On my domain controller/DHCP server, I have a scope setup of 10.0.0.0 255.255.0.0, and is set with an IP range of 10.0.0.1 - 10.0.6.253
I have various reservations in place, and a working policy to assign thin clients an IP of 10.0.2.X based on their MAC address.
I have then created a second policy, that should be assigning IPs in the 10.0.6.0 range, based on relay agent information, subscriber ID. This is a HEX value, so whatever string I enter on the Cisco, has to be converted to HEX.
This DHCP server is on the same VLAN 3. The VLAN interface on the Cisco has IP of 10.0.0.254 255.255.0.0
The wireless clients are getting IP addresses, but not within the range specified by the policy, so they are getting any address between 10.0.0.1 and 10.0.6.253 that is not already in use.
Image 1 shows the vlan interface, where I have set the helper address, relay information option-insert, and subscriber id of "wireless".
Image 2 shows the config on the port that my access point is connected to.
Image 3 shows the value of the policy on the DHCP server, based on subscriber ID
Image 4 shows the string "wireless" converted to HEX
Image 5 shows the IP range that the policy should be using
Image 6 shows "Edss-iPhone" as have an IP not within the correct range
Hopefully that helps.
Similar Messages
-
Grey out screen Fields after entering input using F4 help without an enter code
Hi Experts,
We have a requirement where we want the Input field on a dialog box screen to be greyed Out as soon as the user enters an
input in the respective field using F4 help without processing an ok code in PAI .
Hence we want to achieve a secured input feature that prevents user from altering the values coming from check table.
Regards
KunalHello Kunal,
Try below code, it works for me.
TABLES : MARA.
DATA: BEGIN OF IT_MARA OCCURS 0,
MATNR LIKE MARA-MATNR,
END OF IT_MARA.
DATA : IT_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.
PARAMETERS: p_matnr LIKE mara-matnr.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
SELECT MATNR FROM MARA UP TO 10 ROWS INTO TABLE IT_MARA.
SORT IT_MARA BY MATNR.
DELETE ADJACENT DUPLICATES FROM IT_MARA COMPARING MATNR.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'MATNR'
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'P_MATNR'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_MARA
RETURN_TAB = IT_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT SCREEN.
IF SCREEN-NAME EQ 'P_MATNR'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Thanga -
Alv field with f4 help without using class
Hi,
Can any one give me a program of "Alv field with f4 help without using class".
Thanking you in advance.hi
<b>Linking F4 Help to Fields</b>
For the last section, we will deal with linking F4 help to fields. It is easy. As usual, define, implement and register the event onf4 at proper places in your code. For F4 help, you must register the fields whose F4 request will trigger the onf4 event. For this you must prepare a table of type LVC_T_F4 and register this table using the method register_f4_for_fields. While preparing table you must include a line for each field which will trigger F4 event. For each field in the structure;
􀂾 Pass the fieldname to FIELDNAME
􀂾 Set REGISTER to make the field registered,
􀂾 Set GETBEFORE to provide field content transport before F4 in editable mode
􀂾 Set CHNGEAFTER to make the data changed after F4 in editable mode.
DATA: lt_f4 TYPE lvc_t_f4 WITH HEADER LINE .
lt_f4-fieldname = 'PRICE'.
lt_f4-register = 'X' .
lt_f4-getbefore = 'X' .
APPEND lt_f4 .
CALL METHOD gr_alvgrid->register_f4_for_fields
EXPORTING
it_f4 = lt_f4[] .
Preparing table for the fields to be registered to trigger F4 event
METHOD handle_on_f4 .
PERFORM f4_help USING e_fieldname es_row_no .
er_event_data->m_event_handled = 'X' .
ENDMETHOD .
A sample onf4 method implementation
Again, we set the attribute er_event_data->m_event_handled to prevent further processing of standard F4 help.
regards
Ravish
<b>
reward if useful</b> -
Hi All,
I need to get the "Creation Script" of the existing table using c# and without using SMO dlls (is it possible? I don't know).
I.e. In SQL Management Studio -> right click on any table -> Script table as -> Create To - > open in the new query editor window. This will give you the schema of the table with the constraints of the table.
For E.g. In Northwind database, for the table "Categories", I would like to get it as show below
USE [Northwind]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Categories](
[CategoryID] [int] IDENTITY(1,1) NOT NULL,
[CategoryName] [nvarchar](15) NOT NULL,
[Description] [ntext] NULL,
[Picture] [image] NULL,
CONSTRAINT [PK_Categories] PRIMARY KEY CLUSTERED
[CategoryID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
I would like to get the same schema using c#. Please help.
Thanks & Regards,
Kalai.SMO is the easiest way to get this. This is what Management Studio uses. If you can't use SMO, get a Profiler trace of the queries that SMO executes when generating the script and execute the same using ADO.NET.
Regards,
Farooq Mahmud
Support Escalation Engineer
• Microsoft Health Solutions Group -
Can MSI K7N2 DELTA use SATA harddrive without using RAID??
Can MSI K7N2 DELTA use SATA harddrive without using RAID??
THNAK YOUwell sort off as although if you attatch a single drive you have to create an array in the raid bios ,its not a true array more a means for it to work with the drive
but if you mean without creating an array in the raid bios then no -
Creating context-sensitive HTML Help without using Map #s
I am uisng RH 8 and am producing a compiled HTML Help file.
I am wondering if there is another way to call a topic from our application without using the MAP numbers in RH.
The developer would like to use the MAP ID (string) instead.
Is there a way to do this?
Please let me know.
Thanks.Your points are valid but there are also situations when urls are an excellent method.
For some projects our developers name fields and we have a method of identifying the name applied. We use that as our filename. By that means they know what the help file will be and can create the call before the topic exists and we don't have to maintain map ids for those projects. If we should fail to create the topic, the call has the logic to go to a higher level.
I wouldn't advise using map ids or urls, I would say understand how both work, their pros and cons, and then decide what works for the project.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
F4-Help without using a table search help
Hi,
We´re using CRM 2007 and I have created several F4-Helps for different fields on the webui.
There it was always necessary to use an existing table search help in the GET_V-method:
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = lv_help_id "search help name
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap
iv_trigger_submit = abap_true.
But how can I create a f4-help without an existing search help. I have an internal table that I want to be shown like an f4-help (not as dropdown -> a dropdown-field wouldn´t be a problem).
Structure of the internal table: COML_PROD_CAT_REL_F4
Thanx for help.
Greetings,
Sven
Edited by: Sven Keller on Aug 13, 2008 4:26 PMHi Sven,
you already pasted the correct call for creating a value help. Now what you have to alter is the variable lv_help_id to reflect a F4-Valuehelp class.
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = '(CL_CRM_UIU_BP_IDTYPE_2_F4)' "#EC NOTEXT
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
As you can see CL_CRM_UIU_BP_IDTYPE_2_F4 is a normal ABAP class implementing interface IF_BSP_WD_CUSTOM_F4_CALLBACK. Please take a look at it.
It should not be very hard to implement the single method
cheers Carsten -
Using Synchronous webservice without using SAP XI
Hi,
I have a requirement of wherein which my client has provided me a dot net webservice which needs to be consumed in SAP R/3 using which i have to build an interface between SAP R/3 and the legacy system. This interface needs to be synchronous in nature.
Please let me know how to handle this in ABAP and is this possible without using SAP XI / PI.
Step 1:
SAP r/3 ( sends data )------> (Webservice) Legacy system
Step 2:
(Webservice) Legacy system -
> SAP R/3 (recives response from legacy system)
Regards
JoelHi Joel,
You can use the webservie (SOAP or WS[if it is PI7.1server] adapter).
By calling the webservice from the ABAP.
http://help.sap.com/saphelp_srm40/helpdata/EN/2d/64d023e74911d6b2e400508b6b8a93/frameset.htm
or by using PI also it is possible
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?quicklink=index&overridelayout=true
Read page no 26th onwards.
> Step 1:
> SAP r/3 ( sends data )------> (Webservice) Legacy system
you can use Proxy to PI to SOAP/WS scenario.
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
> Step 2:
> (Webservice) Legacy system -
> SAP R/3 (recives response from legacy system)
you can use SOAP to PI to Proxy scenario.
http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/464442c1a1c253e10000000a1550b0/content.htm (For SOAP)
/people/siva.maranani/blog/2005/04/03/abap-server-proxies (for proxy)
Regards
Ramesh -
How to get InitialContextFactory using RMI/IIOP without using weblogic.jar
Hi Robert
I know this is an old post. but I am interested in knowing how to get the
initial context using RMI/IIOP without the use weblogic specific classes
like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
you can provide as an example, it would be just great.
thanx in advance
Daya Sharma
See comments inline...
Stewart Wachs wrote:
I would like to get an initial context to Weblogic JNDI from a client.
code snippet:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFacorty");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
try {
Context ctx = new InitialContext(ht);
catch(...) {
This works fine when I include weblogic.jar (and other dependend weblogic
jar's) in the classpath.
Is there a way to access WL JNDI from a client without the weblogicclasses
in the classpath?If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
the
answer is no, you will need at least some of the weblogic classes on the
client.
If not, is there a lightweight jar available for distribution for client
JNDI connectivity?This is something in the works. In addition, a colleague and I are working
on
a white paper that describes the "Thin Client Options with WebLogic Server"
that we hope to make available in the not too distant future...
Are there any licencing issues with distributing the weblogic classes to
clients that need to access WL JNDI?No. WLS is licensed by the server so you are free to distribute
weblogic.jar
to your clients.
Hope this helps,
RobertTake a look at the RMI/IIOP section of our whitepaper "Small Footprint
Client options for BEA WebLogic Server" at:
http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
Daya Sharma wrote:
Hi Robert
I know this is an old post. but I am interested in knowing how to get the
initial context using RMI/IIOP without the use weblogic specific classes
like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
you can provide as an example, it would be just great.
thanx in advance
Daya Sharma
See comments inline...
Stewart Wachs wrote:
I would like to get an initial context to Weblogic JNDI from a client.
code snippet:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFacorty");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
try {
Context ctx = new InitialContext(ht);
catch(...) {
This works fine when I include weblogic.jar (and other dependend weblogic
jar's) in the classpath.
Is there a way to access WL JNDI from a client without the weblogic
classes
in the classpath?
If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
the
answer is no, you will need at least some of the weblogic classes on the
client.
If not, is there a lightweight jar available for distribution for client
JNDI connectivity?
This is something in the works. In addition, a colleague and I are working
on
a white paper that describes the "Thin Client Options with WebLogic Server"
that we hope to make available in the not too distant future...
Are there any licencing issues with distributing the weblogic classes to
clients that need to access WL JNDI?
No. WLS is licensed by the server so you are free to distribute
weblogic.jar
to your clients.
Hope this helps,
Robert -
I don't want an answer like "Google it" or to have take an Hour drive to the Apple store for this question.
Considering when you are connected to Wi-Fi, your data does not get spent when you use the internet on your phone.
Can I run the Connection from my Phone to a Computer without using my Data?You misunderstand me. My IT department neither condone, nor condemn my actions. I tried to connect my company bought kindle to my iphone to use it as a gateway (because it has no ability to accept proxy details). I noticed that every time I created a personal hotspot on my phone it would disconnect from from the wireless and switch to 3G. I came looking to see if I was doing something wrong and discovered it is not intended to work in the way that I thought it would.
I work for a college and a large part of my role is investigating technology, discovering what works with current systems, including what needs to be changed or modified to work with what we have in place already. This is usually due to demand from students but also occasionally staff. Part of this role includes making sure that there aren't work arounds (like I was trying above) that could be circumnavigating our security. I've found it interesting to try and stay one step ahead of the next batch of fresh and shiny minds that like to prod and poke the network.
TL;DR I answered about 4 or 5 personal and corporate tech related questions in one foul swoop! Thank you for your help. -
Use apple id without using credit card, use apple id without using credit card
how to register apple id account without using a credit card?
1- Go to itunes
2- select FREE application and click on download and install
now itunes ask you the user name and password ( Applie ID), you should create new apple id with new mail address ( if you register the apple id with email before it is useless "it is in another state " )
3- now you have few steps to creadit information
4- select none option
5- fill other parts
now you create the apple id without credit info. -
Using Custom Legend without Using Legend Class for line Chart
Hi ,
I m trying to create legend with checkbox without using Legend class of flex, but problem is that how to use itemrenderer of lineseries in the legend.
My requirement is like this:my problemb is how to get that shape and use in container .
i am using hbox in that i have checkbox ,label and i tried to use Image or IFlexDisplayObject but i am unable to assign that renderer to either image or IFlexDisplayOBject nothing isd working.
any suggestion for what component i shall use to assign the itemrenderer of lineseries.
Thanks for replying -
HT201209 How to use iTunes card without using credit card on account
I want to to redeem iTunes gift card without using credit card on the account.
iTunes Store: How iTunes Store purchases are billed
Order of iTunes billing methods:
"When making purchases, content credits are used first, followed by Gift Certificate, iTunes Card, or Allowance Account credits; your credit card or PayPal account is then charged for any remaining balance
Check the balance of any redeemed iTunes card just in case > Redeem your Apple Store Gift Cards - Apple Store
If there are not enough funds available, that's why your credit card is being charged.
Take in to account when purchasing any applicable taxes or fees added to the purchase price.
iTUNES STORE - TERMS AND CONDITIONS -
Is there any way to pick data using file adaptor without using polling
Dear All,
I am looking for a way by which file adpter can pick data in non polling mode.
is it possible ?
Best regards
arcCan you explain a little more on your use case. There is a function called sync read, which is part of the File/FTP adapter which allows you to read a file mid process. Not sure if this will meet your requirements.
cheers
James -
Create test scripts using e-Tester without using visual scripts
I'm new researching on e-Test suite.
I have the following question. Is there any possibility to create test scripts to run automatic tests without using the visual scripts created by e-Tester?
Today, we are using Selenium to make Web based tests and this tool is included in a custom framework developed in Java. So, we don't use record and play. Directly we create code using objects, methods and attributes provided by Selenium api.You can create a dummy java agent script that can that call your module. The java agent script can then be automated to run in e-Load.
1) e-tester menu ->options->New Scripts (global) -> Advanced -> Java Agent: Check on "Create Java Agent Script.." and the other 2 check boxes.
2) menu -> File -> New Script
3) Do Nothing. No navigations, ect...
4) menu -> File -> Save Script i.e. "empty"
5) Download and install Eclipse IDE (other IDEs should work but you need to create your own project)
6) Eclipse -> Menu -> File -> Import -> General -> Existing Project into workspace: Select the root directory that contains the etester generated Java Agent script prefixed with the underscore "_" i.e c:\ETS\etest\Default!\_empty
7) Once imported I suggest you call your module from within scriptCallback.class EndScript(RunState, ScriptResult);
7b) When you get better at this you can return errors by changing the ScriptResult() object and view stats from the RunState() object.
8) You will have to modify the Eclipse Project to be dependent on your jars if you want to debug in eclipse. Secondly there are 2 batch files. These two batch files create the *.JWG file which is just a renamed .JAR file.
9) You MUST modify the batch files to create the new Empty.JWG including your *.JAR files.
10) I recommend compiling in eclispe and only running the makefileNocompile.bat (after you add the *.jar inclusion). Ignore the makefile.bat unless you also change the javac.exe execution line to include all the correct classpaths.
11) Once you are happy with running in Eclipse you should be able to execute in eload. I recommend you test the procedures steps 5 through 10 before adding your own module and code.
Maybe you are looking for
-
While trying to open the mail , it shows a blank screen then went to home page.
while trying to open the mail , it shows a blank screen then went to home page.
-
Fiscal year change not yet made for company 1234
While executing the T-code S_ALR_87011963 (Asset balances report) reporting year : 31.12.2009, am getting the below error u201CFiscal year change not yet made for company code 1234u201D 1) In T-code OAAQ, For company code 1234 closed fiscal year
-
Is there a web-only database development environment?
I have a database solution to create that only needs to be accessible via web browsers. I do not have an existing database, so it is not a matter of connecting an existing database to the web. Is there a web-only database development environment that
-
How use an ESP motion controller to drive an actuator by using Labview program?
Our group bought a Universal Motion Conroller/Driver from Newport company and its model is ESP 300. Right now, I am going to use it remotely and I want to use Labview to compile the driving program. My thought is to move an actuator step by step in x
-
TS3989 cannot see photos in PC after enabled photo stream
Hi, I have a question regarding photo stream and I am wondering if anyone can offer any help. I already set up an account in iCloud and I have wifi at home, on my iphone I went to the Settings>iCloud>Photos> I turned "My Photo Stream" on, then on my