LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-14-2006, 03:16 PM   #16
bobbelfield
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30

Hello Hello anybody in there?
rrsc where did you go??
 
Old 02-16-2006, 01:17 PM   #17
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Original Poster
Rep: Reputation: 30
Hi. I'm not dead. My wife has a strange idea that plastering and tiling our bathroom has higher priority than 'playing about' with computers.

I'm having computer problems as well involving both boxes having re-installs. I'll need to start from scratch and will get back to you.

I was looking at LinNeighborhood though. I dual-boot with XP on this machine so L may be appropriate.
 
Old 02-16-2006, 02:12 PM   #18
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
Good to know you are still around. Will still try to help if I can.
Cannot do DIY though. Computer never need fixing, and learning them is immediate.
It is all well known. You have all my support
Grout is great, grub is better
 
Old 03-14-2006, 01:40 AM   #19
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
hello? Anybody there? ny progress with this home lan?
I spent 20 min trying to connect two linux (PC to PC) machines.
I failed miserably. It will be a while before I have a chance to try again.
I used a patch cable. So I will stand a better chance with crossover
I will keep you posted. When this work I will be better able to help.
 
Old 03-14-2006, 08:50 AM   #20
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Original Poster
Rep: Reputation: 30
Hi

Still here!

Emmanueluk: It certainly must be possible to make a network with a crossover cable and 2 dedicated NIC's in Linux. It seems to be very easy in Windows and there is LinNeighborhood (spelling?) to let Linux and Windows coexist in an ethernet lan. It's all there if you can figure it out!

http://www.yolinux.com/HOWTO/Ethernet-HOWTO.html#help

The trouble I guess is everybody's boxes are different and there are so many different flavours of Linux.

I have bought a Mercury 10/100Mbps Fast Ethernet Switch (£15) which I hoped would make things go 'click'...

And they have... I can see the green lights on in the switch showing the cable modem and the 2 NIC's are 'connected' via the switch - but the red lights are still on in the NIC's. So they are connected in a hardware sense but cannot communicate. (?)

I think it is now down to the firewall rules but cannot figure it out. Even if I remove the firewalls (on each box) the boxes don't connect. And I see from reading on the web that you actually need the firewalls but set up to allow the connection.

bobbelfield: I have also been going over the IP addresses etc that you told me but it is just not going 'click'.
 
Old 03-14-2006, 11:37 AM   #21
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
I have a DI-604 router at home. It went click.
But this is more than a switch, it runs dhcp so each nic is given an IP
by the router.
Thanks for the link. I will read that document again.

The nic to nic direct is another challenge.
Back to your problem
Assuming you have allowed everything in each firewall,
and that the security setting is not disabling ping response
(cannot remember where this is)

what does route -n returns?

does ping say "host unreachable?"

PS: I remember
cat /proc/sys/net/ipv4/ip_forward
if 0 then enable with
echo 1 > /proc/sys/Net/ipv4/ip_forward

Last edited by Emmanuel_uk; 03-14-2006 at 11:39 AM.
 
Old 03-14-2006, 05:33 PM   #22
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Original Poster
Rep: Reputation: 30
This is how it looks now. Some configuration needed maybe.

MAIN MACHINE

eth0 Link encap:Ethernet HWaddr 00:40:F4:B4:A9:42
inet addr:80.195.254.121 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::240:f4ff:feb4:a942/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8720595 errors:0 dropped:0 overruns:0 frame:0
TX packets:8069847 errors:0 dropped:0 overruns:20 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2768014658 (2.5 GiB) TX bytes:318885060 (304.1 MiB)
Interrupt:5 Base address:0xc000

eth1 Link encap:Ethernet HWaddr 00:E0:4C:AA:16:A1
inet6 addr: fe80::2e0:4cff:feaa:16a1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2374 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:142728 (139.3 KiB) TX bytes:2772 (2.7 KiB)
Interrupt:5 Base address:0xe000

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:5446 errors:0 dropped:0 overruns:0 frame:0
TX packets:5446 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:318361 (310.8 KiB) TX bytes:318361 (310.8 KiB)

route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
80.195.254.0 * 255.255.255.0 U 10 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 80-195-254-1.ca 0.0.0.0 UG 10 0 0 eth0

route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
80.195.254.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 80.195.254.1 0.0.0.0 UG 10 0 0 eth0

cat /proc/sys/net/ipv4/ip_forward gives '1'

PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.

--- 192.168.1.2 ping statistics ---
28 packets transmitted, 0 received, 100% packet loss, time 27020ms



OTHER MACHINE

eth0 Link encap:Ethernet HWaddr 00:E0:4C:A1:16:F0
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fea1:16f0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1614 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:97707 (95.4 KiB)
Interrupt:11 Base address:0xc000

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:713 errors:0 dropped:0 overruns:0 frame:0
TX packets:713 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:46448 (45.3 KiB) TX bytes:46448 (45.3 KiB)

hostname localhost

route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 10 0 0 eth0

route -n

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 10 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 10 0 0 eth0

cat /proc/sys/net/ipv4/ip_forward now gives '1'

PING 4.68.128.206 (4.68.128.206) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
--- 4.68.128.206 ping statistics ---
13 packets transmitted, 0 received, =9 errors, 100% packet loss, time 12001ms, pipe 3

Last edited by rrsc16954; 03-14-2006 at 05:34 PM.
 
Old 03-15-2006, 02:01 AM   #23
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
It looks like a gateway / route story.
Your first machine eth0 has the IP address given by your ISP, This is ok.

I think you need to say on first machine
ifconfig eth1 192.168.1.1 up (as root)
to make eth1 available. (not I would normally tell you 192.168.0.1)
Then connect eth1 to the switch/router.

And then you might still be missing the right getway / route instruction

eth0 on second machine is 192.168.1.2
Bobblefiedl gave you instructions for 192.168.0.2

PS: This also need checking. In your case you want 0
/proc/sys/net/ipv4/icmp_echo_ignore_all

Last edited by Emmanuel_uk; 03-15-2006 at 01:50 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Server in a LAN Environment Nukem Linux - General 3 11-06-2004 03:38 PM
10.0 creating problems with iptables ryedunn Mandriva 1 03-15-2004 12:11 AM
Problem creating LAN with Linux and windows XP PC kouyou Linux - Networking 1 02-29-2004 01:53 PM
Problems creating LAN. Need help! <Ol>Origy Linux - Networking 26 08-23-2003 01:49 AM
Problem in creating Lan in Linux and windows environment ann6260 Linux - Networking 2 08-12-2003 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration