All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Need some advice
@ 2001-03-09 14:15 Krepper Guillermo Billy
  2001-03-09 14:54 ` Arthur van Leeuwen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krepper Guillermo Billy @ 2001-03-09 14:15 UTC (permalink / raw)
  To: lartc

Hello

I don't know if this is the place to post this but It's in someway related. 
If is there other place where I can get this info please say me.

I'm planing on routing with iproute, but I have a hardware problem you could 
say. My carrier gives me a v35 connexion with a db25 connector to plug on a 
router. So far so good. Now how do I get this connexion on a linux machine to 
work with iproute2?
I have been looking around and the only way I could find is to use a bridge 
that converts from db25 to Ethernet. 
I would like to know if this way of connexion is OK, or if there is a better 
way to do this.

Thank you very much in the advice

Billy

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Need some advice
  2001-03-09 14:15 [LARTC] Need some advice Krepper Guillermo Billy
@ 2001-03-09 14:54 ` Arthur van Leeuwen
  2003-03-25 17:11 ` Jesper Johnson
  2003-03-25 17:25 ` Martin A. Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Arthur van Leeuwen @ 2001-03-09 14:54 UTC (permalink / raw)
  To: lartc

On Fri, 9 Mar 2001, Krepper Guillermo Billy wrote:

> I have been looking around and the only way I could find is to use a bridge
> that converts from db25 to Ethernet.
> I would like to know if this way of connexion is OK, or if there is a better
> way to do this.

That'll work just fine. You just want to be sure that the bridge does not
do any routing itself.

Doei, Arthur.

-- 
  /\    / |      arthurvl@sci.kun.nl      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LARTC] Need some advice
  2001-03-09 14:15 [LARTC] Need some advice Krepper Guillermo Billy
  2001-03-09 14:54 ` Arthur van Leeuwen
@ 2003-03-25 17:11 ` Jesper Johnson
  2003-03-25 17:25 ` Martin A. Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Jesper Johnson @ 2003-03-25 17:11 UTC (permalink / raw)
  To: lartc

Greetings!

I've been struggling for a few days now with something that gives me a
headache 'cause I'm not really an iproute expert, nor even an advanced
user. I've browsed through the archives, HOWTO's and such but didn't pick
up anything particularily useful to help me with my little problem.

I have two network cards installed on a single RedHat8 Linux (2.4.18-14)
box, each interface has it's own dedicated IP address, both have the same
mask and gateway. Now, what I'm trying to do is dedicate eth1 to icecast (a
stream server) only, so that any other outgoing/incoming traffic (HTTP,
FTP, SSH, ICMP etc) would use eth0.

I managed to set up my firewall (with fwbuilder, iptables) so that only
icecast answers on eth1 and the rest of the allowed services on eth0. But
clearly whether you connect to http on eth0 or icecast on eth1, there is
traffic only on eth1 (at least when you look at "netstat -i" or Tx_Bytes &
Rx_Bytes in /proc/net/PRO_LAN_Adapters/eth*.info). That's probably because
"ip route ls" shows that Red Hat has set eth1 as my default gw. 

So.. I guess what I'm asking is what would the right "ip" commands be
that'd allow me to set up my routes in such a way that would make all this
possible? .. and moreover, how do I get Red Hat scripts not to mess with
those settings.. ;-)

Thanks in advance! Excuse me if my explanation is not very clear, too much
monitor tan for today.


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Need some advice
  2001-03-09 14:15 [LARTC] Need some advice Krepper Guillermo Billy
  2001-03-09 14:54 ` Arthur van Leeuwen
  2003-03-25 17:11 ` Jesper Johnson
@ 2003-03-25 17:25 ` Martin A. Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Martin A. Brown @ 2003-03-25 17:25 UTC (permalink / raw)
  To: lartc


Jesper....

(Sorry for brief reply...work, work, work...)

Try something like this

# echo 5 icecast >> /etc/iproute2/rt_tables
# ip rule add from $ETH1_IP table icecast
# ip route add default via $ETH1_GW table icecast

Does that make sense?

Read up on it here:

  http://linux-ip.net/html/routing-tables.html
  http://linux-ip.net/html/routing-selection.html

Good luck,

-Martin

 : Greetings!
 :
 : I've been struggling for a few days now with something that gives me a
 : headache 'cause I'm not really an iproute expert, nor even an advanced
 : user. I've browsed through the archives, HOWTO's and such but didn't pick
 : up anything particularily useful to help me with my little problem.
 :
 : I have two network cards installed on a single RedHat8 Linux (2.4.18-14)
 : box, each interface has it's own dedicated IP address, both have the same
 : mask and gateway. Now, what I'm trying to do is dedicate eth1 to icecast (a
 : stream server) only, so that any other outgoing/incoming traffic (HTTP,
 : FTP, SSH, ICMP etc) would use eth0.
 :
 : I managed to set up my firewall (with fwbuilder, iptables) so that only
 : icecast answers on eth1 and the rest of the allowed services on eth0. But
 : clearly whether you connect to http on eth0 or icecast on eth1, there is
 : traffic only on eth1 (at least when you look at "netstat -i" or Tx_Bytes &
 : Rx_Bytes in /proc/net/PRO_LAN_Adapters/eth*.info). That's probably because
 : "ip route ls" shows that Red Hat has set eth1 as my default gw.
 :
 : So.. I guess what I'm asking is what would the right "ip" commands be
 : that'd allow me to set up my routes in such a way that would make all this
 : possible? .. and moreover, how do I get Red Hat scripts not to mess with
 : those settings.. ;-)
 :
 : Thanks in advance! Excuse me if my explanation is not very clear, too much
 : monitor tan for today.
 :
 :
 : _______________________________________________
 : LARTC mailing list / LARTC@mailman.ds9a.nl
 : http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
 :

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-25 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-09 14:15 [LARTC] Need some advice Krepper Guillermo Billy
2001-03-09 14:54 ` Arthur van Leeuwen
2003-03-25 17:11 ` Jesper Johnson
2003-03-25 17:25 ` Martin A. Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.