Re: Very small network question...
- From: "Sebastian" <gammalsvenska@xxxxxxxx>
- Date: Sat, 11 Mar 2006 21:08:37 +0100
Hello,
to connect two computers directly you need a crossover cable.
If you have something between them (like a switch or hub) you need 'normal'
patch cables. But you could also use the "uplink" port of your hub with a
crossover cable.
Crossover: some wires are crossed
Uplink: the same wires are crossed
Together it works - it is only crossed two times :-)
The gateway question:
You have to set the gateway ONLY if you have a gateway in your network.
Routers may also have gateway functionality. If you don't have one you
mustn't set a gateway in your network settings.
If your computers are in the same subnet (255.255.255.0) on the same ip
range (like your 192.168.50.xxx) you won't use your gateway anyway, so it
doesn't matter if you set one or not. But disable it to be sure.
Generally your network settings seem correct, at least I can't see any
mistake there.
Hope this helps,
Sebastian
<neil650r@xxxxxxxxxxx> schrieb im Newsbeitrag
news:1142103560.449849.324960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello group,
I have several questions that someone with more networking experience
may be able to help me with. I am developing an embedded software
application and the target board can use an NFS mount and also download
it's kernel over TFTP (using U-Boot). Normally my set-up is at my work
place so I never see problems. Now I am trying to reproduce something
similar to my work environment at home.
My 'network' looks like this:
- a host PC running SuSE 9.3 with static IP.
- a five port switch (connected to the host PC and target board).
- an Ethernet-enabled target board with a static IP.
With this configuration I have no access to either the Internet or any
other network, just what I describe above.
The output from ifconfig on the host PC looks like this:
eth0 Link encap:Ethernet HWaddr 00:0C:6E:7E:39:49
inet addr:192.168.50.67 Bcast:192.168.50.255
Mask:255.255.255.0
inet6 addr: fe80::20c:6eff:fe7e:3949/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:5831 (5.6 Kb)
Interrupt:193 Base address:0x4400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:138 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8987 (8.7 Kb) TX bytes:8987 (8.7 Kb)
I read a posting that gave me the idea to set the gateway to 192.1.1.1
I don't know enough about networking to know if this is sensible but I
tried it
just in case I got lucky (working in limited time on my day off and I
am getting
sort of desperate).
The result I got was:
nbryan@linux:~> ping 192.168.42.31
PING 192.168.42.31 (192.168.42.31) 56(84) bytes of data.
From 192.168.50.67: icmp_seq=2 Destination Host Unreachableetc..
From 192.168.50.67 icmp_seq=2 Destination Host Unreachable
From 192.168.50.67 icmp_seq=3 Destination Host Unreachable
From 192.168.50.67 icmp_seq=4 Destination Host Unreachable
So, I need a hint or two.
1) Is what I am trying to achieve possible as I am really only using a
point to point
connection from my PC to the target board, via the switch, I expect it
should just 'work'.
I was told by a work colleague that I need the switch *OR* a crossover
cable.
Is this correct?
2) Most of the settings on my host PC I am happy with. Static IP is
local and unlikely to clash with anything else as it is the only thing
connected! Sub-net mask shouldn't make much difference so I used the
default 255.255.255.0. What about DNS which I believe makes no sense
in my configuration. And also the Gateway! This is the only machine on
the network without exteranl Internet access so what would be the role
of a Gateway?
Thanks for any help offered.
Regards, Neil.
.
- Follow-Ups:
- Re: Very small network question...
- From: neil650r
- Re: Very small network question...
- References:
- Very small network question...
- From: neil650r
- Very small network question...
- Prev by Date: AOL dialup - what authorization method?
- Next by Date: Re: Very small network question...
- Previous by thread: Very small network question...
- Next by thread: Re: Very small network question...
- Index(es):
Relevant Pages
|