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 05-02-2005, 04:27 AM   #1
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
How to manage this problem ?


Well, this is my network http://www.financialexpress-bd.com/net.gif

I am not getting how should I manage all my clients from different network.
For example;

client-1 resides on x.x.x.0/27
client-2 resides on x.x.x.32/27
client-3 resides on x.x.x.64/27
client-4 resides on x.x.x.96/27


I must need them to use the bandwidth manager as their default gateway
to restrict them using a given amount of bandwidth. but I have only one
LAN interface on BW manager for inside network. How can i connect different client -
as because they are from different network?

I heard something called "IP-alias" but if I do so on my bw-manager's inside lan interface,
Will it be practical to put that link in a switch and mix up all client ???

I am really confused...
 
Old 05-02-2005, 08:56 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You can add multiple IPs to a single interface using IP aliasing, just as you heard.
Code:
ifconfig ethX:n z.z.z.z
where X is the interface you want to use, n is the "alias" (an integer value) and z.z.z.z is the IP you want to assign.
 
Old 05-03-2005, 12:19 AM   #3
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
Thanks for reply,

but my confusion is; suppose, I assign IP-alias on a NIC that means..the card can reply to each aliased IP network. But where should I place the Ethernet cable connected with the card ?

should I place the cable in a switch ? If so, IS this practical connecting different network in the same switch ? (You know my clients are from different network).

Main question is: I can alias different IP from different network on a perticular Lan card. but how should I connect different network to it physically ? I dont think i can use a switch...so whats the solution ?
 
Old 05-03-2005, 12:40 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you feel you can't use a switch, then you'll need at least a configurable switch with VLAN support if not a full router.

Why are you using these separate networks, and why are you tying them all together?
 
Old 05-03-2005, 01:26 AM   #5
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
Well, I am trying to do so, because my client use different service

client-1 resides on x.x.x.0/27 (voice)
client-2 resides on x.x.x.32/27 (Internet -www)
client-3 resides on x.x.x.64/27 (email)
client-4 resides on x.x.x.96/27 (ftp)

like this........

so, I wanted to seperat their network and assign different rule for bandwidth using and priority with QoS service on my Bandwidth Manager server. for this reason I need a way on my Bandwidth manger can listen to each network (I am gonna use Ip-alias for this purpose) but I just wanted to know how physically connect different network on one Lan card.

Yes, As you suggested..VLAN can solve to my problem. But is there any way out on linux server to solve it ? because I don't have any Catalyst on my office
 
Old 05-03-2005, 09:19 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, linux does have VLAN support, though I don't know how extensive it is. If you're not needing to keep them separate for security reasons, you can really just bring them all into a switch. The separate subnets should keep broadcast packets and the like apart.
 
  


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
Manage services seriesx4 Ubuntu 1 11-06-2005 09:04 AM
manage rpms Gollum78 Mandriva 2 10-25-2004 06:44 PM
manage daemons MrZip Debian 2 10-22-2004 02:28 PM
Manage profiles Haiyadragon Linux - Software 0 09-27-2004 03:07 PM
how to manage my bandwidth ? freelinuxcpp Linux - Networking 4 10-02-2003 02:06 AM

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

All times are GMT -5. The time now is 04:33 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