LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2006, 08:51 AM   #1
xrtc
LQ Newbie
 
Registered: Sep 2005
Posts: 28

Rep: Reputation: 15
2 network Cards on slackware


i have 2 network cards
192.168.1.1 eth0
192.168.1.2 eth1


i can ping 192.168.1.2 only if i have the cable connected to eth0.
if i conntect the calbe to eth1 i cant ping both ips...

i use kernel 2.6.15.1 compiled myshelf maybe i have smt worng on my kernel???


Thnx in Advance
XRtC

http://www.namyra.gr
 
Old 01-23-2006, 11:44 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Nothing's wrong in the kernel, at least I guess not.

The two eth's need different subnets.. eg
192.168.1.1/24 eth0
192.168.2.1/24 eth2
 
Old 01-24-2006, 03:31 AM   #3
xrtc
LQ Newbie
 
Registered: Sep 2005
Posts: 28

Original Poster
Rep: Reputation: 15
i tried this too but nothing seems to work!!!


its not a router linux.the box is running samba and its fileserver
 
  


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
two network cards in slackware 10.2 caghiebe Linux - Networking 6 12-02-2005 10:16 AM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
Setting up Slackware 9.1 to use multiple network cards? Lynx2112 Slackware 7 06-10-2004 05:52 PM
Using 2 network cards in Slackware 9.1 spinal Linux - Networking 2 05-20-2004 11:14 AM
slackware and network cards jeempc Slackware 3 11-08-2003 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:34 AM.

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