LinuxQuestions.org
Visit Jeremy's Blog.
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, 09: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, 12:44 PM   #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, 04: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

All times are GMT -5. The time now is 03:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration