Static IP address setting ... or mabye a DNS setup issue

Not exactly new to Linux, but hyped on caffeine and much Java EE and Ant and Maven and WebLogicServer and other things buzzing in my head
So ... I have a DynDNS name ... I set my router to make Linux 192.168.1.110 always based on MAC ...
Installed Oracle Linux 6 rev 2 from downloaded ISOs.
Left the "ifcfg-eth0" and "network" alone, and "ifconfig" shows the router setting for IP-address pushed through just fine.
But "ping http://www.yahoo.com" fails because it is an "unknown host". Ping to another local-system works find as does ping to gateway.
I do recall setting the DNS (primary and secondary) during install, but the etherplug was out during install so I has to change ONBOOT from no to yes.
What do I need to do to make the router's DNS available to the Linux, or how do I manually add those DNS values using command line? ULN will need this, at least.

Ah ... the Perils of Pauline (or of phoenix, as the case may be)
Indeed, the resolv.conf was missing entries, but my attempts to re-add them took more than 1 hour and I have NO time to learn system management on that level right now (Ant, Maven, Subversion, git, EJB, ...) ... just 1 or two other things I need to focus on.
I downloaded 5.7 64-bit, installed it with the etherplug in, and all is happy (or will be after I register a ULN account).
Thanks for answering, but right now I need any functioning OracleLinux with patches available to be a SOA/database server much more than I need to learn how to fix "resolv.conf".
... and the caissons go rolling along ...

Similar Messages

  • Network and DNS Setup Issues

    I am setting up an Xserv with Snow Leopard at my school, and I'm running into DNS issues.
    I followed the excellent guide at http://labs.hoffmanlabs.com/node/1436 and believe I've set DNS up correctly, but I fail the changeip -checkhostname test (I've replaced my domain and server names):
    mserver:~ admin$ sudo changeip -checkhostname
    Primary address     = 10.10.10.2
    Current HostName    = myserver.mydomain.ns.ca
    DNS HostName        = myserver
    To fix the hostname please run /usr/sbin/changeip for your system with the
    appropriate directory with the following values
       /usr/sbin/changeip 10.10.10.2 10.10.10.2 myserver.mydomain.ns.ca myserver
    dirserv:success = "success"
    I tried running the command as given, ("sudo /usr/sbin/changeip 10.10.10.2 10.10.10.2 myserver.mydomain.ns.ca myserver") but that didn't solve it. I'm not sure if that's the correct thing to do, or why that didn't work.
    I have come to suspect that my issue is with network settings, and would appreciate advice on what I'm trying to do. The server (our only one) will be an OD master, a file server and a web server. It is inside our router, with an externally-reachable IP address and an internal one (the latter is 10.10.10.2). I have configured it with the two IPs on one port to avoid the issue with SL wanting two serial numbers. My System Preference > Network settings are as follows:
    Ethernet 1b (highest service order):
    IP Address: 10.10.10.2
    Subnet mask: 255.255.255.0
    Router: 10.10.10.1
    DNS Server: 127.0.0.1
    Search Domains: mydomain.ns.ca
    Ethernet 1 (second highest service order):
    IP Address: <my external IP>
    Subnet mask: 255.255.255.248
    Router: <my ISP's router>
    DNS Server: 127.0.0.1
    Search Domains: mydomain.ns.ca
    Ethernet 2:
    Not Connected
    Although I'm unsure what it means (I'm more a teacher than a techie!), Server Admin > Settings > Network shows:
    Computer Name: myserver
    Local Hostname: myserver
    Network Interfaces:
    en0; IPv4; 10.10.10.2; myserver.mydomain.ns.ca
    Ethernet 1 (en0); IPv4; <my external IP>; myserver.local
    The second of the interfaces above is bold.
    The big issue I'm seeing on my network (possibly as a result of this, but everything I've seen says fix DNS first) is that network users can't log in although they have homes and can connect to the homes once logged in as local users.
    Many thanks in advance for your help--the school year is closing in quickly!
    Regards,
    Alex

    Thanks. I disabled the external IP & rebooted. Server Admin now has only the one IP. But I still get the same result:
    myserver:~ admin$ dscacheutil -flushcache
    myserver:~ admin$ sudo changeip -checkhostname
    Password:
    Primary address     = 10.10.10.2
    Current HostName    = myserver.mydomain.ns.ca
    DNS HostName        = myserver
    To fix the hostname please run /usr/sbin/changeip for your system with the
    appropriate directory with the following values
       /usr/sbin/changeip 10.10.10.2 10.10.10.2 myserver.mydomain.ns.ca myserver
    dirserv:success = "success"
    myserver:~ admin$
    I ran dig on a client:
    Last login: Mon Sep  5 11:40:13 on console
    Lab-iMac-64:~ admin$ dig myserver.mydomain.ns.ca
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> myserver.mydomain.ns.ca
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45308
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;myserver.mydomain.ns.ca.        IN    A
    ;; AUTHORITY SECTION:
    mydomain.ns.ca.        10800    IN    SOA    myserver.mydomain.ns.ca. dns.mydomain.ns.ca.mydomain.ns.ca. 2011090201 86400 3600 604800 345600
    ;; Query time: 1 msec
    ;; SERVER: 10.10.10.2#53(10.10.10.2)
    ;; WHEN: Mon Sep  5 11:40:42 2011
    ;; MSG SIZE  rcvd: 94
    Lab-iMac-64:~ admin$ dig -x 10.10.10.2
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 10.10.10.2
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7073
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;2.10.10.10.in-addr.arpa.    IN    PTR
    ;; ANSWER SECTION:
    2.10.10.10.in-addr.arpa. 10800    IN    PTR    myserver.
    ;; AUTHORITY SECTION:
    10.10.10.in-addr.arpa.    10800    IN    NS    myserver.mydomain.ns.ca.
    ;; Query time: 3 msec
    ;; SERVER: 10.10.10.2#53(10.10.10.2)
    ;; WHEN: Mon Sep  5 11:41:04 2011
    ;; MSG SIZE  rcvd: 99
    What to try next?
    ~Alex
    PS- ...and I'm still not able to log in as a network user, but still can access network accounts using connect to server. Here's what my password log looks like when I try to log in (hash and username edited):
    Sep  5 2011 11:34:11    RSAVALIDATE: success.
    Sep  5 2011 11:34:11    AUTH2: {0x4e4d1b4e67..., alex} DHX authentication succeeded.
    Sep  5 2011 11:34:11    KERBEROS-LOGIN-CHECK: user {0x4e4d1b4e67..., alex} is in good standing.
    Sep  5 2011 11:34:11    KERBEROS-LOGIN-CHECK: user {0x4e4d1b4e67..., alex} authentication succeeded.
    Sep  5 2011 11:34:11    GETPOLICY: user {0x4e4d1b4e67..., alex}.
    Sep  5 2011 11:34:11    GETPOLICY: user {0x4e4d1b4e67..., alex}.

  • Is an 'external' static IP address required to set up DNS

    Hi there
    I'm going to be setting up a OSX Server 10.3 machine as an open directory master, to take advantage of single sign-on capabilities.
    From what I have read in manuals and in this topic: http://discussions.apple.com/thread.jspa?threadID=977178&tstart=15 , it is necessary to configure the DNS service first. However, the topic talks about having an external IP address for the server, as well as for the internet router.
    Is this the only method that will work? The network only has one external IP address as far as I am aware.
    Any thoughts greatly appreciated.
    Matt

    The answer is, it depends.
    If you want your server to provide any external services then it will need an external IP address. Now, depending on your network, you may be able to use a single IP address on your router, having it NAT incoming connections via port forwarding - that's a common setup.
    The bigger issue is whether you need a static IP address or can live with a dynamic one. A static IP address is required if you're running certain services such as DNS or Mail. Other services might be able to get by with a dynamic IP, depending on what you're doing with them (for example, it's OK to run a personal web site on a dynamic IP address, but you wouldn't want to do that for a corporate web site that gets a lot of traffic.

  • Set Static IP address on Mac clients

    Hi,
    I'm trying to change the IP address on a mac client at startup time to a different value and to be Static type. I need to do it via the command line. I've researched and found out that 'networksetup -setmanual ...' and 'ipconfig set en0 MANUAL ...' would do it, but the 'networksetup' command is not available unless I have ARD installed and 'ipconfig' is not recommended for use other than testing and debug.
    Another option I was looking at is editing /Library/Preferences/SystemConfiguration/preferences.plist and then doing 'changeip ...' command.
    Do you know if there are any other commands that will allow me to change an ip address via the command line, set it to Static/Manual and preferably do it without a reboot?
    Thank you

    Hi Sergey,
    when I use static IP in my jwc_properties.ini it is never picked up, it still uses DHCP. The part where I have configured IP looks like this:
    # Whether static configuration or DHCP server is used do get IP address. Possible values: dhcp,static
    ip.method = static
    # IP address,used with static IP configuration only
    ip.addr = 10.143.144.97
    # Network mask,used with static IP configuration only
    ip.netmask = 255.255.252.0
    # Network gateway,used with static IP configuration only
    ip.gateway = 10.143.144.1
    # DNS server,used with static IP configuration only
    ip.dns =
    # MAC address
    mac.addr =

  • DNS and Static IP Address Question on Solaris v10 X86

    I�ve recently installed Solaris v10 X86 and have two questions. The system is a Dell E521 with 4GB RAM and 1GB SysKonnect NIC, and internet is provided via a cable modem, that�s plugged into a Netgear router, and the Solaris 10 box is plugged into the Netgear router via a CAT5 ethernet cable.
    1. I can connect to my router login page using the following URL:
    http://192.168.1.1/start.htm and I can also connect to various web pages such as yahoo, if I first "ping yahoo.com" (on another machine that�s internet enabled) and then plug the web site�s ip address into the Solaris/Mozilla browser. So it appears that I haven�t been successful at pointing the Solaris x86 at a DNS server to resolve the DNS name.
    2. I've purchased a commercially available software package and it requires a static ip address for this Solaris x86 server. If the ip address changes, it�ll stop working by design and require that I reacquire the license file. When connecting through this Netgear router, how do I lock this Solaris v10 x86 server into a specific ip address? (the ip address floats presently when cycling my PC�s on/off) presently, and assume the Solaris box will too, usually through an ip range of 192.168.1.<1 through 5>
    # ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    skge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
    ether 0:0:5a:9b:1f:10
    # netstat -rn
    Routing Table: IPv4
    Destination Gateway Flags Ref Use Interface
    192.168.1.0 192.168.1.3 U 1 1 skge0
    224.0.0.0 127.0.0.1 U 1 0 lo0
    default 192.168.1.1 UG 1 0
    127.0.0.1 127.0.0.1 UH 8 163 lo0
    Some of the present Netgear router settings:
    Internet IP Address
    Get Dynamically From ISP (yes)
    Use Static IP Address      (no)
    IP Address           75.185. CROSSED-OUT3
    IP Subnet Mask      255.255.248.0
    Gateway IP Address      75.185.CROSSED-OUT4
    Domain Name Server (DNS) Address
    Get Automatically From ISP (yes)
    Use These DNS Servers (blank)
    Primary DNS      ... (blank)
    Secondary DNS      ... (blank)
    Netgear Router Status Page:
    Account Name      WGT624v3
    Hardware Version      V3H1
    Firmware Version      V2.0.16_1.0.1NA
    Internet Port
    MAC Address      00:40:ca:a8:CROSSED-OUT2
    IP Address           75.185.CROSSED-OUT3
    DHCP           DHCPClient
    IP Subnet Mask      255.255.248.0
    Domain Name Server      65.24.7.3
              65.24.7.6
    LAN Port
    MAC Address      00:18:4D:85:CROSSED-OUT1
    IP Address           192.168.1.1
    DHCP                ON
    IP Subnet Mask      255.255.255.0
    Excerpt from doing a prtconf -D command:
    pci10de,26f, instance #0 (driver name: pci_pci)
    pci1028,8010, instance #0 (driver name: hci1394)
    pci1148,5021, instance #0 (driver name: skge)
    pci1028,1ed
    pci1022,1100
    The NIC is a SysKonnect 9821 1GB Ethernet card. The drivers in Solaris 10 were apparently very old and didn't install drivers or configure/plumb when I installed Solaris 10, so I downloaded the
    latest drivers (hard to find!), followed the instructions and got the NIC drivers installed and then plumbed.
    My router's ip address appears to be 192.168.1.1 and in one of the articles I've read, there is a recommendation to create a file (touch) within /etc named defaultrouter and enter the router's ip address. I did this, and the file now contains:
    192.168.1.1
    I also read where another file called resolv.conf needed to be pointed to a DNS server, which in this case, according to my Netgear router, and according to ipconfig/all on another WinBox on the same network, also shows the same 192.168.1.1 address for the DNS, so I created that file too (wasn't there) and it contains:
    nameserver 192.168.1.1
    There is a host name file called hostname.skge0 and it contains one line:
    INTHOST
    There is a hosts file, and it contains:
    127.0.0.1 localhost loghost homex86
    192.168.1.3 INTHOST
    There is a netmasks file, and other than the commented out lines, it appears to contain one relevant line:
    192.168.1.0 255.255.255.0
    There is a nsswitch.conf file and other than the commented out lines, it contains:
    passwd: files
    group: files
    hosts: files
    ipnodes: files
    networks: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    bootparams: files
    publickey: files
    netgroup: files
    automount: files
    aliases: files
    services: files
    printers: user files
    auth_attr: files
    prof_attr: files
    project: files
    tnrhtp: files
    tnrhdb: files
    There is an nsswitch.dns file:
    passwd: files
    group: files
    ipnodes: files dns
    networks: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    bootparams: files
    publickey: files
    netgroup: files
    automount: files
    aliases: files
    services: files
    printers: user files
    auth_attr: files
    prof_attr: files
    project: files
    tnrhtp: files
    tnrhdb: files
    Finally, I've also seen some advice using the folling command (and I tried it):
    "route add default 192.168.1.1" as an alternative method of setting up route table
    The only other command I've tried is:
    "ifconfig skge0 192.168.1.1 netmask 255.255.255.0 up" but I suspect that was redundant as the plumb command I used to get the NIC functioning earlier probably already provided what was needed.
    Finally, on this small network, I ran an ipconfig/all on a Windows based PC, to see what network settings were reported through the wireless connection, and this is an excerpt of that information:
    C:\Documents and Settings\mark_burke>ipconfig/all
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
    Physical Address. . . . . . . . . : (withheld)
    Ethernet adapter {xxxxxxxx}:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Nortel IPSECSHM Adapter - Packet Scheduler Min
    iport
    Physical Address. . . . . . . . . : (withheld)
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 0.0.0.0
    Subnet Mask . . . . . . . . . . . : 0.0.0.0
    Default Gateway . . . . . . . . . :
    Ethernet adapter Wireless Network Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Dell Wireless 1370 WLAN Mini-PCI Card
    Physical Address. . . . . . . . . : (withheld)
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 192.168.1.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.1
    DHCP Server . . . . . . . . . . . : 192.168.1.1
    DNS Servers . . . . . . . . . . . : 192.168.1.1

    I�ve recently installed Solaris v10 X86 and have two
    questions. The system is a Dell E521 with 4GB RAM
    and 1GB SysKonnect NIC, and internet is provided via
    a cable modem, that�s plugged into a Netgear router,
    and the Solaris 10 box is plugged into the Netgear
    router via a CAT5 ethernet cable.
    1. I can connect to my router login page using the
    following URL:
    http://192.168.1.1/start.htm and I can also connect
    to various web pages such as yahoo, if I first "ping
    yahoo.com" (on another machine that�s internet
    enabled) and then plug the web site�s ip address into
    the Solaris/Mozilla browser. So it appears that I
    haven�t been successful at pointing the Solaris x86
    at a DNS server to resolve the DNS name.You can either copy nsswitch.dns to nsswitch.conf, or you can modify nsswitch.conf so that 'dns' is used for hostname lookups.
    2. I've purchased a commercially available software
    package and it requires a static ip address for this
    Solaris x86 server. If the ip address changes, it�ll
    stop working by design and require that I reacquire
    the license file. When connecting through this
    Netgear router, how do I lock this Solaris v10 x86
    server into a specific ip address? (the ip address
    floats presently when cycling my PC�s on/off)
    presently, and assume the Solaris box will too,
    usually through an ip range of 192.168.1.<1 through
    5>One method is setting the router so that the server's MAC address is tied to a specific IP.
    Otherwise you can edit /etc/hostname.<interface> and place a static address there, forgoing DHCP services from the router. You may want the address to appear outside the router's DHCP range.
    Darren

  • How to setup a static ip address and DNS on airport extreme using the iOS Airport Utility?

    I am at a location that only has wired ethernet.  The ethernet connection has a specific  Static IP address, subnet, gateway, and DNS setting.  I cannot seem to find how to enter DNS settings using the Apple Utility on an iPad. HELP!!!

    First, I am assuming that you are trying to administer your AirPort base station for a static IP address using the iOS version of the AirPort Utility ... correct?
    If so, then to do so:
    Start the AirPort Utility app on the iPad
    Select your base station.
    Select Edit
    Select Internet Connection
    Select Static
    Enter the appropriate IP address information
    Select Done
    Sorry, it does not appear that direct input for DNS IP addresses is an available option with this version of the iOS AirPort Utility app. Not sure why this was not included.

  • Setting up Static IP addresses

    In the FAQ entry for setting up static IP addresses, it says to set the "Preferred DNS server" to: 192.168.1.1
    Currently, mine is set to: 68.94.156.1
    with an Alternate DNS Server of: 68.94.157.1
    Now, I'm wondering, does the Prefered DNS [i]have[/i] to be 192.168.1.1 or will what I currently have work just as well? Also, am I supposed to have an Alternate DNS server, and if so, is what I currently have it set to fine? Lastly, do the DNS servers have to be different for each computer?
    Any help would be great. I'm hoping to try and re-setup my router tonight.

    Kind of off topic, but don't want to make a whole new thread...
    Currently, my home network is very messed up. Previously, we would lose connections upwards of 4 times a day.
    At first, we thought it was because our modem was getting old. So my dad bought a new modem. But when he finished hooking up the modem, we still couldn't connect to the net, so he plugged his comp directly into the modem instead.
    Now, in an attempt to get things working, I have reconnected the router, modem and computers to eachother. However, there is a problem. I can't access the router's setup page from my computer anymore. The lights on the router and modem indicate that:
    1. The modem is connected the net.
    2. The router is connected to the modem.
    3. 3 devices are plugged into the router.
    Now, I have two wired comps, 1 x-box and a wirless comp. and I am using the WRT54G router. I don't understand why this computer cannot connect to the router. I know it is just this comp, because the wireless one can access the router's setup page, although it still can't connect to the net.
    Could someone give me an idea as to what the problem is? The only thing I can think of is, maybe instead of running a cable from the router to the computer, I ran it from the printer to the computer (they are right next to eachother). But don't think printers even use ethernet cables.

  • How to set a static IP address on a Mac server?

    I am setting up a New Mac server for a mail sever and have resieved the MX record and IP address from the ISP and DNS providers. Now I am trying to set up the server to be seen on the out side, or even on the network. Is this all done in the Network confiruration by maually setting the IP and Sub Mask there? I have set it all up to what I think they should be but not having any luck. When I installed the server software I told it to be a stand alone server was that wrong. I will not be running DNS or any other services on this system only Mail.
    thanks

    You should enter the IP address/netmask, etc. during the first-time-boot setup. Changing it later can be a PITA, but it sounds like you did that.
    Setting 'standalone' shouldn't be an issue since that only relates to directory services.
    It sounds like the problem is a more basic connectivity issue.
    Have you verified that you have basic IP address connectivity? Can you ping the router address provided by your ISP? Can you ping remote sites outside your network? If that's not working you're not going to get much further.

  • How to set a static IP address for deskjet 6940dt

    I have two HP laptops, both have WIN7, that keep losing the IP address for my 6940dt printer, each time power goes out to router.  I have an desktop PC connected to a NetGear router and RCA modem connected to Comcast cable internet.  I also have another desktop that connects wirelessly through the router....but this desktop never loses the printer IP address and I can't figure out why it doesn't and my laptops do. 
    I have had a fellow at the senior center computer club tell me that I need to set a Static IP address to make the laptops connect .  I don't know how to do this and I would need someone to explain it in a language that I can understand, like real basic.  I have searched the internet but the things I have found have been very complicated to understand. 
    Can anyone help me?
    This question was solved.
    View Solution.

    Ooops, sorry, I forgot that yours is a wired-only network printer.
    You are on the right track - just go to where you were and follow my directions - it all works the same with wired as it does wireless.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • WRE54G expander setting static ip address, then no internet?

    I have set a static ip address on my wired computer for the expander. I can access the setup page, but not the internet. So, I went and set my computer back to " obtain ip address automatically ". Now I can access internet, but not the expander set up page.  I would like to upgrade my firmware, but  need internet and setup page at same time to do this.
    I thought once you set up a specified ip address and added it to your gateway you could then access it anytime when you had the settings changed back  to " obtain an ip address automatically " ? 

    Download the firmware when you have Internet Access, you may download the firmware from here , once the firmware is downloaded you can set-up static ip address on your computer and access your range expander set-up page and upgrade it's firmware...Once the upgrade is done you should reset and re-configure your range expander...
    Make sure you have identical wireless settings on your Range Expander and your Wireless Router...Your Range Expander should be in the same subnet as that of your router...

  • Not able to set static IP address after upgrading to 8.1 from 8.0

    I have a dell vostro 1014 laptop.After upgrading to 8.1 from 8.0 , i am not able to give static IP address in the Internet Protocol version 4 (TCP/IPv4) Properties of my Ethernet card properties.I am getting the following error:
    "COM surrogate has stopped working error"
    In order to access Internet Protocol version 4 (TCP/IPv4) Properties
    again , i need to restart the system
    after restarting my system and when i access Internet Protocol version 4 (TCP/IPv4) Properties  i find that ip address,subnet mask and default gateway( in the
    use following IP Address field) have given has become  empty.But
    preferred DNS server and alternate DNS server enteries are still there.I am able to fetch IP address from the DHCP server
    Does anyone knows how to troubleshoot this problem?

    This problem may occur due to loss of some system files while upgrading your  dell vostro 1014 laptop from 8.0.to 8.1 or unsuccessful upgrade. 
    Try to refresh your laptop by inserting windows 8.1 installation disc.
    To do this go to control panel->recovery->refresh your system without loosing any data
    If you don't have any windows 8.1 installation disc just download from Microsoft website.
    Make sure to choose correct architecture of your windows installation (x86 or x64) when you download.

  • How to set static IPv6 address/gateway in Arch (NOT tunnel)

    Hey Everybody,
    Today I decided to install Arch Linux. There was only one thing that I did not understand, and that is how to set up a static IPv6 address. I have native IPv6 connectivity at home and in Debian I used to edit /etc/network/interfaces to set up a static IPv6 adress. Since Arch uses rc.conf, what is the syntax to configure a static IPv6 address?
    I used to add something like this in Debian in /etc/network/interfaces:
    > iface eth0 inet6 static
    > address *my static address*
    > netmask 64
    > gateway *my gateway address*
    Or can I still use /etc/network/interfaces in Arch?
    Thank you for help.

    It can be done quite easily using the netcfg infrastructure.
    /usr/lib/network/connections/ipv6static
    #!/bin/bash
    . /usr/lib/network/network
    ipv6static_up() {
    load_profile $1
    ip -6 a a ${ADDRESS} dev ${INTERFACE}
    if ! [ -z "${GATEWAY}" ]
    then
    ip -6 r a 2000::/3 via ${GATEWAY} dev ${INTERFACE}
    fi
    ipv6static_down() {
    load_profile $1
    ip -6 a d ${ADDRESS} dev ${INTERFACE}
    if ! [ -z "${GATEWAY}" ]
    then
    ip -6 r d 2000::/3 via ${GATEWAY} dev ${INTERFACE}
    fi
    ipv6static_$1 $2
    exit $?
    /etc/network.d/eth0static
    CONNECTION="ipv6static"
    DESCRIPTION="Static configuration for IPv6"
    ADDRESS="2001:dead:beef:cafe::1/64"
    INTERFACE="eth0"
    GATEWAY="2001:feed:dead:beef::1" # Comment this out if no route needed
    I haven't tested the gateway part, but I don't see why it wouldn't work. You'll need iproute2, and to read up on netcfg (see http://wiki.archlinux.org/index.php/Network_Profiles) if you have trouble.
    Last edited by gunkaaa (2009-09-02 05:19:36)

  • PowerShell script to set VM static IP address - multiple subscriptions

    Hi,
    I have set successfully static IP Address to all of my virtual machines until now (1 subscription) using Set-AzureStaticVNetIP
    But now I have 2 Azure subscriptions. The virtual networks names are the same at both of the suscriptions.
    The question is:
    How to define the subscription to use when defining static IP addresses to VMs?
    Thanks in advance!

    Hi SCCMadmin09,
    Considering that you have successfully set static IP Address to all of your virtual machines until now for one of the subscriptions :
    Login to your Azure account with the command ; this time you should be entering your second subscription login credentials.
    Add-AzureAccount
      Add-AzureAccount
      :    This will open a windows login dialog that will allow you to enter your credentials of the second subscription.
      Now you need to find the name of the subscription you created your virtual machines under. The command is:
    Get-AzureSubscription
    The output will give the Azure subscription information
    Here in the example, Visual Studio Ultimate with MSDN a/c is used. The command to select this is:
    Select-AzureSubscription 
    : Select Azure Subscription: Enter your subscription name and then ENTER:
    Eg : Visual Studio Ultimate with MSDN
     At this point you are connected to your subscription and can begin to work with the virtual machines created under it.
    There are two parameters you will need to have:
    ServiceName
    = the name of your virtual machine. Example :
    DTechHST-Test01
    Name
    = the same name you entered as the ServiceName
    And finally the commands, there are three.
    Get-AzureVM -ServiceName <your_vm_name> -Name <your_vm_name>
     Set-AzureStaticVNetIP -IPAddress "<your_new_ip_address>"
     Update-AzureVM
     Unfortunately, entering these commands one at a time fails. They must be strung together via “pipes”.
    Get-AzureVM -ServiceName <your_vm_name> -Name <your_vm_name> | Set-AzureStaticVNetIP -IPAddress "<your_new_ip_address>"
    | Update-AzureVM
     As an example:
    Get-AzureVM -ServiceName HST-Test01 -Name HST-Test01 | Set-AzureStaticVNetIP -IPAddress "192.168.224.50"
    | Update-AzureVM
     In the event that you need to remove an assigned IP address, use the following command structure.
    Get-AzureVM -ServiceName 
    <your_vm_name> -Name <your_vm_name> | Remove-AzureStaticVNetIP | Update-AzureVM
    Hope this helps.
    Regards,
    Shirisha Paderu

  • ?? How to set up actiontec MI242wr rev F router to accomodate Static IP addresses, port forwarding?

    I just got a new Verizon/Actiontec replacement router and I want to configure 4 or 5 static IP addresses beginning at 192.168.1.201  and above.
    At this point, I have changed the DHCP range from 192.168.1.2 - 192.168.1.250, to  192.168.1.2 - 192.168.1.200, so that is now the DHCP pool.  That presumably leaves anything above 192.168.1.200 open for static IP assignments.
    a) So now  how do I create a Static IP reservation for a device? (what router screens should I use? do the device(s) that I want a static IP have to be connected?, etc.)
    b) Once I have the static IP address reserved/configured, how can I make the appropriate port forward rule(s) for the devices?  Specifically, I want to allow SSH connections to each of the static IP addresses/devices.
    (I tried this once but the router complained after I made the first port forwarding rule saying that it was already in use!?!? and I want to avoid this problem again).
    Thanks
    -J

    thanks for your suggestion.  I figured out what to do...I let each device receive an address by DHCP, and then in the router, I went to Advanced -> Connections, double clicked on the device to get more details and  set  the "Static Lease" check box.
    What this does is a address reservation for the device, but still configures it via DHCP.
    It would be nice if the router manual noted this small detail, that devices can be configured as having a static address 'reservation' that is administered by the DHCP service, OR, one can set a 'static IP address' by ensuring that the device address is outside of the DHCP pool. 

  • Setting up static IP address for my D110

    I'm trying to setup a static IP address for my printer.  I'm able to access the printer and get into the Embedded Web Server.  After I change the settings and click apply, I get an error message that says:
    An error has occurred. (wipv4Page-400)Click "OK" to go back.
    The changes will not save.  Any suggestions as to how to apply the changes?

    Probably you are using Internet Explorer11, I have the same problem with that.
    When using Google Chrome it works well, I think with Intenet Explorer 10 too.

Maybe you are looking for

  • Can't Restore?

    I've tried restoring my ipod that is stuck in recovery mode over 50 times.. It keeps saying "there was a problem downloading the software for the iPod "iPod". The network connection timed out". It also says "error = .3259". I disabled my firewall and

  • Opening a folder on server

    hi All, My requirement is that i want to create an application in which there should be an hyperlink which will point to a particular folder on the server and when i click on that hyperlink it should open that folder. Can we create this kind of Hyper

  • JPEG Vs PNG

    hi there, here is a question i have but first i want to apologise for my writting im still learning english ok here it is, hoping that some one who can backup his/her answer read this if every time i use png results in small file size WHY do i want t

  • Email attachment auto download

    Hi, i have recently connected my phone with my company email so that i can read it when im on the go. I realised after i open up the email the attachment download automatically which i do not want to download. I have ever downloaded attachment which

  • Magic mouse not working with mountain lion

    Hey is anyone else loosing connection with their magicmouse since the mountain lion release... I have had three sets of new batteries and it still keeps losing connection. Can anyone else help me?