this is a windows PC running cygwin. but regardless of that, what you mean by:
"DHCP will grab your IP address and register an record in DNS
for your hostname"?

what component will register a hostname in DNS? DHCP?/DNS?/NETBIOS?

not sure I'll get an answer from IT admin, but may try it later.
thanks!

regards
ping

On 7/5/2012 9:32 PM, Jeremiah Bess wrote:
I'm not sure why you are posting outputs of a Windows ipconfig.
Normally, DHCP will grab your IP address and register an record in DNS
for your hostname.

Some VPN tunnels are configured to not allow local network connections
simultaneously. This question is probably best answered by your network
admins.

Jeremiah Bess
Penguin Geek, Network Ninja, Father of Five

On Jul 5, 2012 3:09 PM, "ping" <[email protected]
<mailto:[email protected]>> wrote:

    guys/experts:
    this sometimes confuse me...
    say I have a PC named "ping-new-laptop", I connected to my company
    wireless ,through DHCP I got an IP address

    Wireless LAN adapter Wireless Network Connection:

        Connection-specific DNS Suffix  . : abc.net <http://abc.net>
        Description . . . . . . . . . . . : Broadcom 4313GN 802.11b/g/n
    1x1 Wi-Fi Adapter
        Physical Address. . . . . . . . . : 7C-E9-D3-08-DD-F0
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Link-local IPv6 Address . . . . . :
    fe80::7d29:2056:c479:6d36%11(__Preferred)
        IPv4 Address. . . . . . . . . . . : 192.168.10.144(Preferred)
        Subnet Mask . . . . . . . . . . . : 255.255.252.0
        Lease Obtained. . . . . . . . . . : Thursday, July 05, 2012
    3:30:18 PM
        Lease Expires . . . . . . . . . . : Friday, July 06, 2012 3:37:55 AM
        Default Gateway . . . . . . . . . :
        DHCP Server . . . . . . . . . . . : 192.168.8.5
        DHCPv6 IAID . . . . . . . . . . . : 249877821
        DHCPv6 Client DUID. . . . . . . . :
    00-01-00-01-16-EA-C4-2D-B4-99-__BA-F6-22-C8
        DNS Servers . . . . . . . . . . . : 8.8.8.8
                                            8.8.4.4
        NetBIOS over Tcpip. . . . . . . . : Enabled


    on top of it I connect into VPN and got another IP:

    Ethernet adapter Local Area Connection* 12:

        Connection-specific DNS Suffix  . : abc.net <http://abc.net>
        Description . . . . . . . . . . . : abc Network Connect Virtual
    Adapter
        Physical Address. . . . . . . . . : 00-FF-B0-4B-B5-07
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Link-local IPv6 Address . . . . . :
    fe80::3daf:d50b:edcb:3903%20(__Preferred)
        IPv4 Address. . . . . . . . . . . : 172.28.130.42(Preferred)
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Lease Obtained. . . . . . . . . . : Thursday, July 05, 2012
    3:32:37 PM
        Lease Expires . . . . . . . . . . : Thursday, July 12, 2012
    3:32:40 PM
        Default Gateway . . . . . . . . . : 0.0.0.0
        DHCP Server . . . . . . . . . . . : 172.28.128.1
        DHCPv6 IAID . . . . . . . . . . . : 503381872
        DHCPv6 Client DUID. . . . . . . . :
    00-01-00-01-16-EA-C4-2D-B4-99-__BA-F6-22-C8
        DNS Servers . . . . . . . . . . . : 172.28.144.15
                                            172.24.245.15
        Primary WINS Server . . . . . . . : 172.28.144.10
        NetBIOS over Tcpip. . . . . . . . : Enabled


    that way I'm online ,working, without any issue.

    //my hostname
    [ping@ping-new-laptop ~]$ hostname
    ping-new-laptop

    //I can ping my name from local, resolved to my IP
    [ping@ping-new-laptop ~]$ ping ping-new-laptop
    PING ping-new-laptop (172.28.130.42): 56 data bytes
    64 bytes from 172.28.130.42 <http://172.28.130.42>: icmp_seq=0
    ttl=128 time=1 ms

    //but this doesn't resolve
    anotherPC$ ping ping-new-laptop
    ping: unknown host ping-new-laptop

    ----ping-new-laptop PING Statistics----
    1 packets transmitted, 1 packets received, 0.0% packet loss
    round-trip (ms)  min/avg/max/med = 1/1/1/1


    now the annoying part is, since both IP addresses are assigned
    dynamically and varies everytime, if I want to connect into from
    another PC, I have to know what's the IP addresses I need to connect
    to. if for some reason there is short transient issue that make it
    disconnected and got a new IP, I have no idea what it is and in the
    worst case if I have to connect in, I need to drive miles and go to
    the office... and for SSH, this will add a new entry to my
    known_hosts file everytime the IP changes. which is not a big deal
    though.

    if there anyway that I can just announce my hostname into the
    network, so I can simply use my hostname or any other fix name to
    represent my laptop in the network, so I don't need to worry about
    the IP?


    --
    You received this message because you are subscribed to the Linux
    Users Group.
    To post a message, send email to linuxusersgroup@googlegroups.__com
    <mailto:[email protected]>
    To unsubscribe, send email to
    linuxusersgroup+unsubscribe@__googlegroups.com
    <mailto:linuxusersgroup%[email protected]>
    For more options, visit our group at
    http://groups.google.com/__group/linuxusersgroup
    <http://groups.google.com/group/linuxusersgroup>
    References can be found at: http://goo.gl/anqri
    Please remember to abide by our list rules
    (http://tinyurl.com/LUG-Rules or
    http://cdn.fsdev.net/List-__Rules.pdf
    <http://cdn.fsdev.net/List-Rules.pdf>)

--
You received this message because you are subscribed to the Linux Users
Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules
or http://cdn.fsdev.net/List-Rules.pdf)


--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or 
http://cdn.fsdev.net/List-Rules.pdf)

Reply via email to