I was recently at a hotel where I had trouble getting OpenSolaris
snv_117 with nwam to connect to the hotel network. I monitored the
ath0 interface with wireshark and found that the hotel's DHCP
server assigned address 192.168.7.216 with subnet mask
255.255.255.255 to my node. The router's address was 192.168.4.1.
I manually reconfigured my subnet mask to 255.255.252.0 to get
connectivity. I understand a better way to handle this would be
to manually define a host route to 192.168.4.1 through the
interface.

Should Solaris support automatically configuring to a network
that works this way?

I've included the DHCP ACK from my wireshark log below.

Ken



Frame 52 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: Internet_bd:f9:9d (00:e0:4d:bd:f9:9d), Dst: WistronN_4d:b2:8c (00:0b:6b:4d:b2:8c)
    Destination: WistronN_4d:b2:8c (00:0b:6b:4d:b2:8c)
    Source: Internet_bd:f9:9d (00:e0:4d:bd:f9:9d)
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.4.1 (192.168.4.1), Dst: 192.168.7.216 (192.168.7.216)
    Version: 4
    Header length: 20 bytes
Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00)
    Total Length: 328
    Identification: 0x0000 (0)
    Flags: 0x00
    Fragment offset: 0
    Time to live: 16
    Protocol: UDP (0x11)
    Header checksum: 0x1c6c [correct]
    Source: 192.168.4.1 (192.168.4.1)
    Destination: 192.168.7.216 (192.168.7.216)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
    Source port: bootps (67)
    Destination port: bootpc (68)
    Length: 308
    Checksum: 0x97a7 [correct]
Bootstrap Protocol
    Message type: Boot Reply (2)
    Hardware type: Ethernet
    Hardware address length: 6
    Hops: 0
    Transaction ID: 0x0d3492ec
    Seconds elapsed: 4
    Bootp flags: 0x0000 (Unicast)
        0... .... .... .... = Broadcast flag: Unicast
        .000 0000 0000 0000 = Reserved flags: 0x0000
    Client IP address: 0.0.0.0 (0.0.0.0)
    Your (client) IP address: 192.168.7.216 (192.168.7.216)
    Next server IP address: 192.168.4.1 (192.168.4.1)
    Relay agent IP address: 0.0.0.0 (0.0.0.0)
    Client MAC address: WistronN_4d:b2:8c (00:0b:6b:4d:b2:8c)
    Server host name not given
    Boot file name not given
    Magic cookie: (OK)
    Option: (t=53,l=1) DHCP Message Type = DHCP ACK
    Option: (t=54,l=4) Server Identifier = 192.168.4.1
    Option: (t=51,l=4) IP Address Lease Time = 1 day
    Option: (t=1,l=4) Subnet Mask = 255.255.255.255
    Option: (t=3,l=4) Router = 192.168.4.1
    Option: (t=6,l=4) Domain Name Server = 192.168.4.1
    End Option
    Padding
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to