LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2012, 10:27 PM   #1
manikandan_vs
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Rep: Reputation: 0
How can I connect two lan cards with different IP clases ?


hi,
am using ubuntu 10.10,i want to share internet use of squid and also i need to share samba sources to my clients ,

ihave two ethernet cards eth0 is connected to inetrnet and eth1 is connected to switch

i had dhcp server to assing ip to client machine.....


my ethernet conf:


Quote:

root@Mani:~# ifconfig
eth0 Link encap:Ethernet HWaddr 8c:89:a5:51:73:78
inet addr:192.168.3.200 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::8e89:a5ff:fe51:7378/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7032 errors:0 dropped:0 overruns:0 frame:0
TX packets:7827 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:4923018 (4.9 MB) TX bytes:1442704 (1.4 MB)
Interrupt:45

eth1 Link encap:Ethernet HWaddr 00:e0:29:28:9f:b8
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:29ff:fe28:9fb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:30 dropped:0 overruns:0 carrier:60
collisions:510 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:5958 (5.9 KB)
Interrupt:17 Base address:0xec00

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:218 errors:0 dropped:0 overruns:0 frame:0
TX packets:218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:38277 (38.2 KB) TX bytes:38277 (38.2 KB)


servers machine : ubuntu 10.10
clients machines : windows xp,linux

thaks....
 
Old 02-06-2012, 11:10 PM   #2
NEQTAN
Member
 
Registered: Jan 2012
Location: ND USA
Distribution: Linux Mint 12
Posts: 52

Rep: Reputation: 1
ubuntu server

Hello Mani,

Rather than trying to write a tutorial, I figured a link to a couple good how to's would suffice.


Ubuntu Server Guide for Network Config.:

https://help.ubuntu.com/11.10/server...iguration.html

This is a Debian guide (Ubuntu is based on Debian so there may be some things of use worth reading):

http://www.aboutdebian.com/network.htm

Yet another good how to on Network Administration

http://linux-ip.net/html/linux-ip.html

But from what I understand of the information you gave. Eth0 is the servers nic and Eth1 is the switch nic. So it would seem to me you want to configure your server to allow the traffic required. The switch should not require any attention.

Sorry if this is not helpful.

If you could possibly explain what you have performed on the server setup so far for this problem?

Last edited by NEQTAN; 02-06-2012 at 11:21 PM.
 
Old 02-07-2012, 12:54 AM   #3
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
I dont see any questions in the OP..

In keeping with the "question" part of the LinuxQuestions Idea, could you please clarify your post, with clear questions.
 
  


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
Supported Graphics cards and lan cards for rhel 6 priyankgupta1984 Linux - Desktop 3 11-15-2011 09:59 AM
PHP4: How can I keep includes from redefinig clases? eantoranz Programming 6 01-18-2006 05:01 PM
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 01:14 PM
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 10:19 PM
problemas de clases en kdevelop tranfuga Programming 2 06-16-2004 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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