Static IP address on shared networking

Discussion in 'General Questions' started by Kevin Lyda, Jun 13, 2009.

  1. Kevin Lyda

    Kevin Lyda Bit poster

    Messages:
    3
    Is there a way to have a static ip address using shared networking?

    I'm using Parallels 4.0 on OS X. In Parallels Desktop -> Preferences -> Networking I set the DHCP address range to 10.211.55.1 to 10.211.55.99. I then reconfigured my guest OS to use static networking and set it to 10.211.55.101. I could ping 10.211.55.1 and 10.211.55.2, but nothing else.
     
  2. Elric

    Elric Parallels Team

    Messages:
    1,718
    Make sure that in Guest OS the netmask is 255.255.255.0 and gateway is 10.211.55.1

    If this won't help and you are running Windows, post here the output of the "ipconfig /all" command.
     
  3. Kevin Lyda

    Kevin Lyda Bit poster

    Messages:
    3
    I'm using openbsd, but I can probably give you something similar to what you want. Here's the output of netstat and ifconfig. I'm going to try rebooting it (that's just wrong) but in the meantime here's the info:

    # netstat -nr -f inet
    Routing tables

    Internet:
    Destination Gateway Flags Refs Use Mtu Prio Iface
    default 10.211.55.1 UGS 0 304003 - 8 ne3
    10.211.55/24 link#1 UC 2 0 - 4 ne3
    10.211.55.1 00:1c:42:00:00:18 UHLc 1 1 - 4 ne3
    10.211.55.2 00:1c:42:00:00:08 UHLc 1 82 - 4 ne3
    10.211.55.4 127.0.0.1 UGHS 0 0 33204 8 lo0
    127/8 127.0.0.1 UGRS 0 0 33204 8 lo0
    127.0.0.1 127.0.0.1 UH 2 348 33204 4 lo0
    224/4 127.0.0.1 URS 0 0 33204 8 lo0

    # ifconfig
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204
    priority: 0
    groups: lo
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
    ne3: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:1c:42:bb:ee:c9
    description: Parallels static address
    priority: 0
    groups: egress
    media: Ethernet autoselect (10baseT)
    inet6 fe80::21c:42ff:febb:eec9%ne3 prefixlen 64 scopeid 0x1
    inet 10.211.55.101 netmask 0xffffff00 broadcast 10.211.55.255
    enc0: flags=0<> mtu 1536
    priority: 0
     
  4. Kevin Lyda

    Kevin Lyda Bit poster

    Messages:
    3
    Gah. I'm sorry. Rebooting fixed it. I must have missed something when changing it from dhcp. Sorry, forget I asked anything! :)

    Thanks for the fast response though.
     

Share This Page