Setting network interface IP address

Hello everyone,
Is it possible to change a network interface IP address(eg set my local area connection IP) purely in Java or should JNI be used?
Thanks in advance.

I doubt there is a single, cross-platform way in purely Java, but short of using JNI you could probably use something like Runtime.exec() (assuming your user has proper permissions) and a corresponding command-line utility (like ifconfig on Unix/Linux, ipconfig on Windows).
Edit From a brief look, it looks like ipconfig won't do the equivalent on Windows as ifconfig will do.
Edited by: endasil on 16-Sep-2009 3:37 PM
Edit Looks like the netsh command on Windows does some of those things:
netsh interface ip set address local static 123.123.123.123 255.255.255.0 Source: [Wikipedia: netsh|http://en.wikipedia.org/wiki/Netsh]
Edited by: endasil on 16-Sep-2009 3:39 PM

Similar Messages

  • Setting network interface and ttl for MulticastSocket

    Hello
    I've tried to set the network interface and the TTL for a MulticastSocket, but it has no effect. For testing I set the TTL to '4' and the network interface to 'lo' (localhost), but everybody in the local area network get my message with TTL=1...
    I use Fedora Core 5 (Linux), with no settings in the iptables.
    Here is the code I used:
    private String networkInterface="lo";
    private String address="239.192.0.5";
    private int port=54321;
    private int mcastTtl=4;
    public void send(){
    InputStream input=getContextClassLoader().getResourceAsStream("something.xml");
    byte[] buffer = new byte[1480];
    int length = input.read(buffer,0, 1480);
    inetAddress = InetAddress.getByName(address);
    nInterface=NetworkInterface.getByName(networkInterface);
    MulticastSocket socket = new MulticastSocket(port);
    socket.joinGroup(inetAddress);
    DatagramPacket packet = new DatagramPacket(buffer, length,
    inetAddress, port);
    socket.setTimeToLive(mcastTtl);
    socket.setNetworkInterface(nInterface);
    socket.send(packet);
    socket.leaveGroup(inetAddress);
    For simplicity I took the Error handling off here, but certainly I have it in my code. No errors, no problems, everybody get the correct message... But not with the settings I made.
    Any tips?
    Thanks:
    Bence

    I'm seeing the exact same thing. It's as if setNetworkInterface() doesn't actually do anything at all.
    java version "1.5.0_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
    Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode)
    OS: Linux kernel 2.6.14.3, CentOS 4.2
    Code example (parts removed for clarity) follows. This code works perfectly when I allow it to attach to the default (eth0) interface. When I try to change the interface it binds to, all packets are still multicast to eth0 ONLY! I see nothing on lo or eth1.
    Properties props = System.getDefaultProperties();
    props.setProperty("java.net.preferIPv4Stack","true");
    MulticastSocket mcs = new MulticastSocket(localPort);
    mcs.setNetworkInterface(NetworkInterface.getByName("eth1"));
    InetAddress group = InetAddress.getByName("230.1.1.1");
    String payload = "This is my payload";
    DatagramPacket dgram = new DatagramPacket(payload.getBytes(),
    payload.length(),
    group, groupPort);
    mcs.send(dgram);

  • Trying to set network interface at 100/full on Solaris 11

    Hi all,
    I hope someone can help me.
    I've built two boxes running Solaris 11 in my lab. Connected to a hub, all seemed well.
    Now, I've connected them to the network here and I'm having the following issue, The machines should be connecting to the network at 100Mbps/full. Instead, it seems they are trying to connect at 10Mbps/full, which is causing a problem.
    When I check the speed on the NIC (interface=net2), speed is set to 10Mb :
         dladm show-linkprop net2
    Returns speed=10.
    PROPERTY     PERM     VALUE
    speed               r-          10
    As you can see from the above, permission is set to read only.
    When I try to set the link speed as follow :
         dladm set-linkprop -p speed=100 net2
    I get the following error
         'Cannot set link property speed on net2 - operation not supported.'
    Which I assume is because of the read-only property/
    I have also tried setting the property old-style with ndd :
         /usr/sbin/ndd -set /dev/<device-name> adv_100fdx_cap 1
    And get 'Operation not supported'.
    And finally, I've entered the settings in /etc/system itself (and rebooted) :
        set net2:adv_100fdx_cap=1
    All to no avail.
    Note the following blog post I've found here indicating someone else had issues with mode/speed in Solaris 11 (unfortunately I'm still stumped!) :
    http://blog.thilelli.net/post/2011/02/19/Solaris-11-Express%3A-Problem-6
    My networks man is adamant that the network settings are correct, i.e. the network is set to 100Mbps, and looking at his switch settings he seems to be correct.
    Does anyone have any ideas as to where I can go from here? Much appreciated....

    Despite what your site's network staff have said, this is likely to be their issue.
    If you are connecting to a managed switch, that entire peripheral may have specific settings on some or all of its ports.
    I suggest you let that switch do whatever it expects to do and remove all customizations to your NIC's configuration.   Let it auto-negotiate.
    You should also ignore that link you have in your initial post.   The ERI network interface that is described there was a very specific network chipset and used on a very small specific number of Sun SPARC boxes.  It was known to have issues with proper negotiation (it would usually work but sometimes just get mucked up).
    See this Symantec link http://www.symantec.com/business/support/index?page=content&id=TECH37566
    and the following two Oracle notes:
    (PDF) http://docs.oracle.com/cd/E19455-01/806-5579-10/806-5579-10.pdf
    http://docs.oracle.com/cd/E19253-01/816-4554/fwawf/index.html

  • How to add network interface using ioctl ?

    I want to do what ifconfig does, but by using ioctls.
    To get or set network interface address, I found some information in the if_tcp(7P) man page. I would like to know more about how to go about it. Do I have to open socket or the pseudo ethernet driver e.g hme ? What are the parameters ? Do I require to only fill the structure ifreq to set the network interface ?
    Thanks in advance.
    -dev

    Are you trying to add a network volume or folder? I believe you can only add folders. Have you tried: Volumes/Archive, losing the first slash.  I was successful in adding a group folder to the dock by using: Volumes/Groups/Example

  • Setting applications to use specific network interfaces

    How do I configure my computer such that specific applications will default to a different network interface than all the rest?
    I want to set it up so that Adium always tries to use AirPort first and everything else uses ethernet if it's available.
    Powerbook G4 1.5 Ghz   Mac OS X (10.4.8)   1GB RAM

    You can't (normally) get there from here.
    What you're trying to do is affect the routing (route certain traffic through a specific interface). The issue is that routing works at the IP level, not the application level. This means that you can tell the system to route a.b.c.d (e.g. the address of the IM server you're connecting to) through a speciic router at w.x.y.z (e.g. the AirPort).
    In order to do this, though, you need to have different IP address/subnet masks on each interface.
    For example, assuming your wired ethernet is using 192.168.1.2/255.255.255.0 and your wired ethernet router is at 192.168.1.1, and your AirPort interface is using 10.1.1.2 with the AirPort router at 10.1.1.1 you can run the command:
    <pre class=command>sudo route add a.b.c.d 10.1.1.1</pre>
    and all traffic for a.b.c.d will go over the AirPort link.
    Note that it doesn't matter what protocol you use - any traffic destined for a.b.c.d, whether it's AIM, HTTP, FTP or anything else - or what application you use - Adium, Safari, FireFox, etc. - they'll all use the AirPort link.
    Note that this technique will NOT work if you have both interfaces on the machine configured in the same subnet, but this is not a supported configuration, so you shouldn't be doing that anyway.

  • Set speed limit to network interface

    Hi
    I want build a program to set limit speed  to my network interface
    for example max download speed for wlan connection  10Kb
    how must edit network interface for this work
    i searched but can't found anything
    thanks

    Why would you want to do this?
    It sounds quite suspicious to me.
    Still lost in code, just at a little higher level.
    i want save my monthly traffic
    That doesn't make much sense. How will limiting the network speed do that?
    If you limit the network speed to 20% of what it was then it will just take 5 times longer (more really due to the amount of overhead in data packets) in order to upload or download anything.
    If you are on a plan which limits the amount of data via the plans network which can be uploaded and or downloaded during the plans payment time period then perhaps you should monitor the data transceived over the link during that time period.
    Then write an app that turns off a NIC and will monitor the NIC so if it is enabled it is turned off again whenever some daily allowance of bandwidth is exceeded. Or perhaps write a service for that. Of course the app or service would need to know the pay
    period to monitor, the amount of bandwidth provided for the pay period, constantly store bandwidth used (either sent, received or both) while the NIC is up and be designed to know for each day when to disable the NIC if necessary. And allow the NIC to be re-enabled
    or re-enable the NIC when some time occurs following the previous disable of a NIC.
    However you don't provide what the requirement would be other than you just want to limit bandwidth via some NIC. Which really means nothing unless multiple PC's are vying for bandwidth and you want on specific PC to be allocated more bandwidth than
    any other PC or something.
    Group Policy Editor has a setting that can apparently
    limit reserveable bandwidth. I don't know if setting that to %95 would only provide applications %5 of the available bandwidth. I've installed GPE on my Win 7 Home Premium PC which it does not come
    with and I had to find an installer from an untrusted source in order to do that.
    Recently I had a friend using a Verizon WIFI device which provides local WIFI for PC's via Verizons cell service I suppose. Apparently if the PC was left on and nobody was using it then bandwidth was used. I believe in about one 6 hour time period over %15
    of the entire pay periods bandwidth allowance was used when his girlfriend let the PC on unattended. So I could see where some type of monitor app would be nice for a situation like that.
    When you use few words to describe anything the result is everybody having to guess. And with regard to what you think you want to do it makes the entire thread a guess.
    La vida loca

  • [ASK] Set Network Address Restriction With Script

    Hi all, i have a question about set network address restriction.. if i post in wrong category i'm very sorry about it because i don't know where i supposed to post this..
    i need to set network address restriction to every user in my tree..
    the problem is there is hundreds of user that i need to set the restriction.. i think it will take a lot of time if i do it one by one..
    i created the user with script, and i want to ask whether there is a command to set network address restriction with script or maybe there is another simple way to set network address restriction..
    thanks..

    Is the restriction going to be the same for all users? Depending on what
    "script" you use, you should be able to also set the restriction at the
    same time - its just another attribute value to set.
    Peter
    eDirectory Rules!
    http://www.DreamLAN.com

  • INS-40724 No locally defined network interface matches the SCAN address

    Hi All,
    Getting the above error.
    I verified that:
    Public IP on both nodes is Primary interface
    SCAN IP are on same subnet as Public IP network interface
    SSH connectivity is verified on both nodes.
    thanks

    HI,
    Define a public interface with a subnet matching the one you want to use for the SCAN. None of the locally defined network interfaces has a subnet matching the SCAN subnet.
    More Information please cheek Oracle support id :  Solutions for Typical 11gR2 Grid Infrastructure/RAC Database runInstaller Issues (Doc ID 1056713.1)
    Thank you

  • [SOLVED] Network interface name keeps changing

    My network interface name keeps changing between wlp2s0 and wlan0. This is a real pain, since I never know what name will be generated at boot. Most of the time it's called wlp2s0, so this is what netctl is set up to handle by itself. At boots were wlan0 is generated I have to connect manually.
    I've tried making the name static by adding a rule to the /etc/udev/rules.d/10-network.rules. The rule i added was:
    SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="48:5d:60:7e:64:e9", NAME="wlp2s0"
    Wlp2s0 is generated at boot alright, but I still have to connect manually with this solution. As if the "new" wlp2s0 is not recognized as the old one (same MAC). What gives?
    This is on an Asus Eee 1001PXD, with the Qualcomm Atheros AR9285.
    Last edited by madr (2013-05-18 20:09:34)

    I've now been able to replicate the issue, and run the command:
    journalctl -b
    I did find the output:
    mai 18 02:30:02 <hostname> systemd-udevd[126]: error changing net interface name wlan0 to wlp2s0: Device or resource busy
    I haven't been able to process the whole output yet (I'll continue tomorrow if necessary), but I've found some things that I hope will clearify things. I get similar outputs to the following a lot throughout:
    mai 18 02:30:03 <hostname> dhcpcd[237]: wlan0: carrier lost
    mai 18 02:30:03 <hostname> dhcpcd[237]: wlan0: waiting for carrier
    mai 18 02:30:04 <hostname> systemd[1]: [email protected]: control process exited, code=exited status=1
    mai 18 02:30:04 <hostname> systemd[1]: Failed to start Automatic wireless network connection using netctl profiles.
    mai 18 02:30:04 <hostname> systemd[1]: Unit [email protected] entered failed state.
    mai 18 02:30:04 <hostname> systemd[1]: Starting Network.
    mai 18 02:30:04 <hostname> systemd[1]: Reached target Network.
    EDIT:
    I see now that this is later in time, so that's not so strange after all. I'll look some more.
    EDIT2:
    The error code that a name change i impossible is the first time the term 'wlan0' occurs in the log. However there's a line much earlier that talks about wlp2s0:
    mai 18 02:29:59 <hostname> systemd[1]: Expecting device sys-subsystem-net-devices-wlp2s0.device...
    But as I said, if this information doesn't help, I'll have a closer look at the output tomorrow. Getting late here in Norway now.
    Last edited by madr (2013-05-18 01:20:50)

  • How many Standard Ethernet Network Interface by server ?

    Hi
    Huh... I'd like to install a RAC configuration with 2 server but i've a doubt.
    When i list all network interfaces i've:
    Server1
    en0 Standard Ethernet Network Interface
    et0 IEEE 802.3 Ethernet Network Interface
    lo0 Loopback Network Interface
    Server2
    en0 Standard Ethernet Network Interface
    et0 IEEE 802.3 Ethernet Network Interface
    lo0 Loopback Network Interface
    Is it good or not ? (probably not and documentation says that en0 and en1 must be present in the configuration). OK.
    I'm under AIX 5.3 and by Smit i've an option intituled "Add a Virtual IP Address Interface". Is it possible to create the second Interface as a Virtual IP adress here ?
    Thanks in advance
    Regards
    Den

    Den,
    Basically, you would be needing two separate interface cards for each participating node. The first one to connect to the public network and second for the use an interconnect. Not sure, if et0 is really an network interface, if yes, you should be ok.
    VIP is nothing but an un-assigned IP address (in the same subnet as your public IP address) which is expected to be inactive before you install the CRS. This should be listed in your /etc/hosts file and/or dns server (if used). Not sure if adding VIP through the SMIT makes it active, if yes, then you might not want to use SMIT to set up the VIP.
    This may help you with more information - http://download.oracle.com/docs/cd/B19306_01/install.102/b14201/preaix.htm#sthref378
    HTH
    Thanks
    Chandra

  • Fake Network Interface - What Is It, and How Do I Get It?

    I'm in the process of setting up Linux-VServer, which supports OS level virtualization. It's like running a VM, only instead of using an abstraction layer to create fake hardware and host another OS, the kernel just runs multiple userspaces and makes sure they don't touch anything they're not supposed to.
    Anyway, like many VM solutions, networking is a bit funky. They create fake interfaces that seem to exist only in the kernel, then use iptables to mask them with NAT so it still works on a network. The trick is that I'm not sure how they're creating fake interfaces, so I don't know how to replicate it on Arch. Here's a page describing the process: http://linux-vserver.org/Networking_vserver_guests
    On Debian, they add this to /etc/network/interfaces:
    auto dummy0
    iface dummy0 inet static
    address 192.168.1.250
    netmask 255.255.255.0
    What are they using to make this work? Is there a good way to replicate it under Arch?
    Last edited by arew264 (2009-03-26 03:18:19)

    I ran `ip addr add 192.168.1.4/24 dev eth0 label eth0:1`, which adds an IP address to eth0.
    This works better than the solution the vserver wiki recommends because I can give the guest a public IP address.
    Is there a way to do this in /etc/rc.conf or the network daemon?
    Last edited by arew264 (2009-03-26 03:18:51)

  • How to configure network interface only when cable inserted?

    Hi there,
    I was wondering if anyone here could help me with a minor configuration problem. I have a server with two network interfaces, I'll call one "internal" and the other one "external". It has NAT configured so that the "internal" interface gets served DHCP, can access the Internet, etc. My problem is that sometimes I want to run the server without anything connected to the internal interface, and at these times it seems that the boot process gets stuck on the "bringing up internal interface" part. (It's a bit hard to know exactly what's going on because the server is headless.)  I am using a script in /etc/network.d/, set to static IP address, for the internal interface.
    Does anyone know how I could configure Arch so that it only tries to bring up the internal interface if something is actually connected to the port? Otherwise I have to physically go to my server and plug in my laptop to keep the boot process going... let me know if I should provide more details.
    Thanks for your suggestions!

    ifplugd? Which is used by net-auto-wired from netcfg.

  • Smf / sometimes does not configure network interfaces in single-user mode?

    From http://groups.yahoo.com/group/solarisx86/message/14785
    When booting into single user mode, I often get a message
    on the console
    t_optmgmt: System error: Cannot assign requested addressand only the loopback interface is configured (lo0 inet, and lo0 inet6).
    The system's dnet0 interface is not plumbed any more. Configuration
    for the dnet0 network interface is via a static ip address; hostname
    in /etc/hostname.dnet0, and and ip v4 address for that hostname in
    /etc/hosts. This was a Solaris 10 x86 system, but the same problem
    has also been observed on Solaris 10 sparc, and the hme0
    interface.
    svcs -x in single-user mode reports no problems.
    Changing to multi-user mode by typing Ctrl-D still does not
    configure the real network interface.
    One thing that I've noticed is that smf's log file
    /etc/svc/volatile/network-physical:default.log
    is missing, when the nic interface was not configured.
    It seems that the problem with unconfigured network interfaces
    does not happen when I boot directly into multi-user mode.
    Why isn't the physical interface plumbed and configured when
    booting into single user mode on S10 b69?

    Hi everyone,
    I too have internet connection problem
    I have installed Solaris 10 on my Compaq Presario M2000 series
    Solaris Management Console Details:
    Hostname: HOME
    Host ID: 116c4141
    Model: i86PC
    no of CPUs: 1
    CPU: 0
    Type: Genuine Intel 6.13.8
    Clock Speed: 1,500 MHz
    Usage: 1%
    Status: Online
    Software SunOS 5.10
    Physical Mem: 222 MB
    Virtual Mem: 729 MB
    Virt MEM used: 41 % (298/729) 413 MB available
    IP address: 172.19.16.96
    Network Connection rtls0: Sending & Receiving Packets
    When running WinXP in my laptop before for same IP:
    IP address: 172.19.16.96
    Subnet mask: 255.255.240.0
    Default Gateway: 172.19.31.254
    while booting the OS said NFS+ version 4 was detected and the router IP is automatically configured or there is no specific individual router IP, says something like this
    # ifconfig -a:
    lo0: flag = 2001000849<UP,LOOPBACK, RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    rtls0: flags = 1000843<UP, BROADCAST,RUNNING,MULTICAST,IPv4>mtu 1500 index 2
    inet 172.19.16.96 netmask ffff0000 BROADCAST 172.19.255.255
    ether 0:c0:9f:8c:c9
    lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8252 index 1
    inet 6 :: 1/128
    rtls0: flags = 2000840<RUNNING,MULTICAST,IPv4>mtu 1500 index 2
    inet fe80::2c0:9fff:fe9a:8cc 9/10
    ether 0:c0:9f:9a:8c:c9
    I have modified the files and checked them:
    1. etc/hosts
    127.0.0.1 local host
    172.19.16.96 HOME loghost
    2. etc/hostname.rtls0
    HOME
    3. etc/hostname6.rtls0
    HOME
    4. etc/netmasks
    172.19.16.255 255.255.240.0
    I don't know the network IP so i just write this, can anyone tell me how to find the network IP
    5. etc/defaultrouter
    172.19.31.254
    I made this file and wrote the default gateway IP address, can anyone tell me how to find default router IP since the NFS+ version 4 auto detects or auto assigns router IP
    6. etc/resolv.conf
    domain myhost.com
    nameserver: 172.19.16.12
    nameserver: 172.19.16.13
    still domain name has't been set, i just wrote this, can anyone tell me how to find the domain name or create one. also the name server is just a fake, but how to find one. If i will be connecting my laptop to various IP whereever i go, so do i need to configure network setting again and again ? isn't there any auto network configuration so that i can connect internet where ever i go and let the system auto configure network settings like in windows XP auto IP configuration detect.
    7. etc/nsswitch.conf
    in this i can't see "hosts: files" but i could see rest of the details. so I inserted "hosts: files dns" in the third line and saved.
    I ran the following command in the terminal to find the details:
    #ypmatch host-name hosts
    ypmatch: the domainname hasn't been set on this machine
    (how to set domain name can anyone tell me?)
    #move/etc/netmasks: not found
    #uname -n
    HOME
    #cat/etc/nsswitch.conf
    cat/etc/nsswitch.conf: not found
    #domain name
    domain: not found
    #ypwhich
    ypwhich: the domainname has'nt been set to this machine
    #nismatch nameserver-name hosts.org-dir
    hosts.org-dir: Error in accessing NIS+ cold file.......is NIS+ installed?
    actually during installation i selected DNS type for network giving a wrong nameserver and domain got skipped later
    #getent ipnodes dns (no response)
    so all these things i did and found by seeing the forum guidelines. I can see the network connection has receivinh and sent packets seems to be working but can't browse internet, also can't ping a website.
    if anyone had the same problem but found the answer than kindly let me know. I am new to solaris but i am trying my best.
    awaiting reply from gurus
    bye for now.................

  • Using ports of the same network interface

    Hi,
    I'm an Oracle DBA.
    I will perform 2 installations of Oracle Management Agent on a Solaris server with the following config:
    SunOS 5.10
    Interface IP Address Hostname
    ce6 address0     hostname0     
    ce6:1 address1     hostname1
    ce6:2 address2     hostname2
    The first installation will be done on <hostname1>.
    The second one will be done on <hostname2>.
    Each agent will use a port that defaults to 3872.
    Can I use the same port 3872 for both installations?
    Thanks and regards,
    Giuseppe Centioli

    Hi Darren.
    netstat -an | grep 1831
    <hostname1>.1831 <hostnameX>.1399 63980 0
    50400 0 ESTABLISHED
    *.1831 *.* 0 0
    49152 0 LISTEN
    Okay, that's incorrect. You'll see that the process is listening on *.1831. In other words, it's listening on all network addresses. That was the specific point I was making earlier. It must not do that. The listener must bind only to the network address chosen.
    When it's set up right, you should see a specific address on the LISTEN line, not a *.
    The error is an Oracle related error telling
    that another LISTENER
    has been started with port 1831.Yes, that's the case here. The listener is not binding to the correct address in your configuration. I am not an Oracle DBA, and I can't tell you what the correct syntax is.
    Hmm. Okay, here's some stuff from google. Do you have a hostname specified in your listener.ora file?
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    Like that?
    Darren

  • Add New Virtual Network Interface to RRAS

    In the past (W2k3), adding an interface to the OS would also cause that interface to be added to RRAS.  I have a server running RRAS and it has multiple VMs running in Hyper-V.  I want to add an isolated VM that has a single port available from the Internet to that VM.  I have added an Internal Virtual Network and configured it with a static IP (in the host OS) (same configuration (except IP address) as my other virtual network interfaces).  The new interface does not show up in RRAS even after restart.  In W2k3, you could add an interface in the Network Interfaces area.  In W2k8, the only interface you can add is a demand-dial interface.
    In the past, I had to delete the RRAS server and reinstall it to see the new interface.  This is ugly as it removes, for an extended time, all of the mappings, filters, etc. that I have in place.
    Any ideas on how to manually add a new interface to RRAS either by registry, powershell, script, etc.?Pete

    I found a new way around this which should work for everyone, a twist on the existing registry solution:
    Open RegEdit.exe.
    Go to "HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces" where each of your network adapters (physical or virtual) has a GUID named sub-key. Identify which one is your network adapter (look at the IP or DHCP settings in the child key=values
    or configure a temporary address so you can find it). Now you have discovered the GUID. Click the GUID key then hit F2 to goto rename mode and highlight the whole key, hit CTRL+C to copy to the clipboard.
    Go to "HKLM\System\CurrentControlSet\Services\RemoteAccess\Interfaces". Add a new sub-key which is the next in sequence, for example I had 1...6 so I added "7". This is key add the following...
    A DWORD32 (32bit integer) called "Enabled" set to 1.
    A REG_SZ (string) called "InterfaceName" then paste your interface GUID, e.g. set to "{XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}".
    A DWORD32 called "Stamp" set to 0.
    A DWORD32 called "Type" set to 3 (LAN).
    Restart RRAS, the interface will appear!
    Right click each protocol, e.g. IPv4, IPv6 then you can right click "General" to add a "New Interface..." and your interface will then be enabled for that protocol.
    I'm happy I played around a bit more to find that now. But MS even though we have a solution which does not require us to lose our configuration, please fix the source of this problem!
    Key Artefacts

Maybe you are looking for

  • Playlists, not checked on iTunes, showing up on iPhone after installing IOS 7.2

    My playists, which are not checked, are being synced to my iPhone.  I can't figure out how to delete from phone as I do not want them on my iPhone.  One playlist has been synced up to my phone but one has not.  How do I get rid of the playlist on my

  • Webservice call inside BPM

    Hi Experts, How to call the webservice inside BPM? How to do the wsdl file  configuration/import and etc. Regards Sara Edited by: Sara D on Jan 18, 2008 6:36 AM

  • How do i uninstall some thing

    i installed microsoft silver light plug in and i want to know how to uninstall on a mac this is my first mac and i haven't uninstalled something yet so can some one tell me what the procedure is?

  • Importing Raw FIles in LR5

    Hi, So I have just started using a D4. I was trying to upload my photos, and the RAW files will not import. I was using LR3, and thought it had something to do with the version, so got LR5, and its not working. FIles could not be imported because the

  • How to Clear JMS pending message withour restarting weblogic

    Hi All, We are using JMS concept in our weblogic for asynchronous backend. We have pollJMS  OSB service that process the JMS message to async target. For some reason messages are pilling up in queue and poll service is not able to send the messages t