View Single Post

  #4  
Old 08-25-2008, 06:53 PM
Default Re: TEMPORARILY setting qfe2 to be a DHCP server?


Hi Darren!

Thank you very much for your help!

>I'm wondering... Withouth DHCP, wouldn't it try to come up on
>192.1.1.1? Have you tried that address?


Yes. I'm not a "network guru", but I made the address of my qfe2
port 192.1.1.2. When I rebooted, ifconfig for qfe2 showed:

<<>>
qfe2: flags=1000843 mtu 1500 index 4
inet 192.1.1.2 netmask ffffff00 broadcast 192.1.1.255
<<>>

Here were my routes configured on the Sun, at that time:

<<>>
bash-2.03$ netstat -nr

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.1.1.0 192.1.1.2 U 1 0 qfe2
192.168.0.0 192.168.0.201 U 1 8 qfe0
192.168.2.0 192.168.2.2 U 1 1 qfe1
192.168.4.0 192.168.4.1 U 1 0 qfe3
224.0.0.0 192.168.0.201 U 1 0 qfe0
default 192.168.0.1 UG 1 2
127.0.0.1 127.0.0.1 UH 13 235 lo0
<<>>

When I typed "192.1.1.1" into my firefox web browser bar, after a
reasonably long delay, I got "The connection has timed out".

However, without even powering if off, I can unplug the RJ-45 network
cable that goes into qfe2 and plug it into the fourth port of my D-Link
router (which is set to be a DHCP server, for around 20 addresses on the
192.168.0 net), and I see numerous things!

The D-Link router has the 4th light now lit up. And, the serial hub,
on the front, has the following lights on:

Power (left most light, this was on when connected to the Sun, as well)
Online (next light, to the right, also on when on the Sun)
Link (off on Sun, on when connected to D-Link router)
Traffic (off on Sun, irregular blinking on D-Link router)
100 Mbps (off on Sun, on when connected to D-Link router)

Also, when I log onto the D-Link router, it shows this under "LAN
COMPUTERS", IP address 192.168,0.107, and the MAC address is the Ethernet
address of the serial hub.

So, it wound up getting an address that wasn't 192.1.1.1, and it does
show up. The D-Link router and the serial hub appear to be talking very
well, even if I can't! :-O

(I can't connect to it when it's attached to the D-Link router. I
suspect I need to configure something about the router differently,
because I want this to be a LAN connection, and I do NOT want data to/from
it to be even involved with the Internet. I was intending to connect it
to a port of my Sun's QFE card, anyway.)

>That seems very odd. I wouldn't call it a "link" light in that case.
>It must have general Ethernet connectivity to initiate a DHCP request.


You can see what I typed above. When connected to the D-Link router,
the Link light (and others) is on.

>Just to be sure... Can you run 'snoop -d qfe2' and see that you're even
>getting DHCP requests from the device? I don't like that you don't see
>a link light.


I got absolutely nothing, when I connected it to qfe2 just now, and
had the qfe2 as shown above.

Barry
--
Barry L. Bond | http://home.cfl.rr.com/os9barry/
Software Engineer, ITT Corporation | (My personal home web page, last
bbondATcfl.rr.com | updated February 17, 2005)
Reply With Quote