Linux-Networking Digest #435, Volume #10 Tue, 9 Mar 99 09:13:30 EST
Contents:
Re: IP Masquerade speed (John R. Campbell)
Newbie: How to set up innd on RedHat 5.2 (Irger Armin)
Re: Problems with Samba/Routing ("phantom")
localhost.localdomain??? (Boris Benko)
Re: tunneling through a campus LAN ? ("Jeff Volckaert")
Re: I need help on configuring a RAID 1 ("Curtis Adams")
Re: For all you Nicrosoft lovers (DanH)
Dual Ethernet problems (Joe Croft)
Cablemodem installation OK - No ROUTE ("Adelphia.news")
RH 5.2 - No route - but good connection... ("Adelphia.news")
D-Link DE 220 card for RH-5.2 ? (Nguyen-Dai Quy)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (John R. Campbell)
Subject: Re: IP Masquerade speed
Reply-To: [EMAIL PROTECTED]
Date: Tue, 09 Mar 1999 11:37:29 GMT
On Tue, 09 Mar 1999 09:15:31 GMT, "Frank Grunenberg" <[EMAIL PROTECTED]> wrote:
>John R. Campbell wrote in message ...
>>On Mon, 8 Mar 1999 16:28:44 -0500, "Sylvain C�t�"
><[EMAIL PROTECTED]> wrote:
>>>However, there is some delay when I use the Internet Explorer on Win95
>from
>>>the inner side of the network. When I use Netscape on the linux machine,
>>>the web pages are loaded very quickly. May the masquerade compromise the
>>>speed? If I use a machine with higher performance for the masquerade,
>will
>>>it perform better?
>> No, I suspect that IE would not be all that fast if it was
>> directly connected, either. When I had a Lose95/IE4 set up
>> with a cable modem I was unhappy with it's respone time.
>>
>> Nowadays the only thing on the local side of my Linux box is
>> a Mac 7200 w/ Netscape, so it'd be difficult to guage.
>>
>> As for Linux, you can tell the kernel to optimize for routing-
>> which I've done.
>
>The linux box has to forward the packets to the 95/98 machine, this should
>take a little longer... If it were directly connected, seemed to be about
>the same speed as Netscape 4.5 and 4.06 on windows... Seemed about as fast
>on Linux...
Yes, but please understand that I'm using a cable modem, so
the latency of the comm line isn't an issue (though I must
admit that there are times the cable modem really emulates
intergalactic vacuum).
At DS0 speed (or below, like w/ a 33k6 modem) the latency of
the path through Linux is (IMHO) irrelevant- sure, there's
some (small) delay but the modem provides a major choke point.
Of course, if you've a 56K modem and you're not pushing the
UART up to the hairy edge of performance (115k3 or better)
while Winblows does, well, then you've got a performance
problem (and it's a little difficult to get the dialer
script to report the communications speed). If you've an
old enough kernel then you'd probably need to apply the
setserial /dev/cuaX spd_vhi
or some such (though it's not as critical as it once was).
>The IP forwarding is not exactly a small task... An improvement in the
>Communication line would help.. If you have a 56K upgradeing to an ISDN
>would be helpful... Or going with a cable modem... this would help
>tremendously...
I'd've preferred ADSL but it's not really common just yet-
the Cable Modem approach is just *OK* but it'd be nice if
my shared segment was smaller and there was a DS3 behind it
(I suspect the segment is fairly large and that an SMDS of,
say, 4Mbps or so, is what I'm tolerating).
I'd be more likely to suspect that the latency is in the
UART rather than the modem or the forwarding logic. If
you're really touchy, though, turn on the "optimize as
router" flag in the kernel's configuration.
If'n you want *really* short path lengths through a system,
of course, you might want to look at freeBSD; I've done a
device driver for an HDLC card & PPP which, for BSD, lives
in the kernel (on Linux it operates as an external pppd
program in user space). YMMV.
--
John R. Campbell Speaker to Machines [EMAIL PROTECTED]
- As a SysAdmin, yes, I CAN read your e-mail, but I DON'T get that bored!
Disclaimer: All opinions expressed are those of John Campbell alone and
do not reflect the opinions of his employer(s) or lackeys
thereof. Anyone who says differently is itching for a fight!
------------------------------
From: Irger Armin <[EMAIL PROTECTED]>
Subject: Newbie: How to set up innd on RedHat 5.2
Date: Tue, 09 Mar 1999 13:42:56 +0100
Hi,
please help me to set up an newsserver (inn), which only hosts local
groups.
I only got 2 days.
cu armin irger
------------------------------
From: "phantom" <[EMAIL PROTECTED]>
Subject: Re: Problems with Samba/Routing
Date: Tue, 9 Mar 1999 12:44:26 -0000
I think I fixed a problem like this by setting up ip masquerading
between 192.168.1.255 & 192.168.2.255 the windoze boxes just
can't seem to understand file and printer sharing over subnets!
Martin Lucas wrote in message <[EMAIL PROTECTED]>...
>Hello,
>I have 2 networks (net0 - 192.168.1.0 - eth0 and net1 - 192.168.2.0 -
>eth1). My linuxbox is the router between those nets. From net0 i can
>do a ping to net1 and vice a versa. In net1 are 2 printers connected
>to win95 boxes, wich should be used in net0 (also win95/nt boxes).
>The problem is, that i can see the boxes in the network neigbourhood
>but if i do a doubleclick on them i get a message, that the hosts are
>not reachable and my linuxbox establishes a ppp conection to the
------------------------------
From: Boris Benko <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: localhost.localdomain???
Date: Tue, 09 Mar 1999 13:17:01 GMT
Hi there!
I have the following problem:
I have two installations of RH 5.2. Both were installed without problems
at all...
But one of them presents itself as localhost and one of them presents
itself corectly.
Please note that I'm using name server and name server responds
correctly (I verified that).
i.e. it maps from name -> IP and from IP -> name correctly for both
machines.
I dig a little bit around the init scripts and I found that the name of
the host is determined in
/etc/sysconfig/network-scripts/ifup-post
Here is the snippet:
if [ -n "$NEEDHOSTNAME" -a ${DEVICE} != lo ]; then
IPADDR=`ifconfig ${DEVICE} | grep 'inet addr' |
awk -F: '{ print $2 } ' | awk '{ print $1 }'`
eval `/bin/ipcalc --silent --hostname ${IPADDR}` && set_hostname
$HOSTNAME
fi
Even more weird is that /bin/ipcalc RETURNS the correct hostname while
the system is running.
I set the name of the machine by hand in:
/etc/sysconfig/network
It gets the correct name now... I'm wondering why the hostname wasn't
set properly with original installation.
=b
--
============================================================================
mag. Boris Benko | E-mail: [EMAIL PROTECTED]
Telekom Slovenije, PE Murska Sobota | [EMAIL PROTECTED]
Senior Prog./Sys admin./Informatik | [EMAIL PROTECTED]
Slu�ba za informatiko | Phone: (work) +386 69 31 676
| (ISDN) +386 69 14 632
| (home) +386 69 37 499
===========================================================================
------------------------------
From: "Jeff Volckaert" <[EMAIL PROTECTED]>
Subject: Re: tunneling through a campus LAN ?
Date: Tue, 9 Mar 1999 08:35:27 -0500
Switch marsbase and rebelbase and have marsbase route traffic for rebels.
Two can route (play) at this game... <g>
Jeff Volckaert
Cameron Spitzer wrote in message <7c1dpn$idt$[EMAIL PROTECTED]>...
>
>Let's say, hypothetically of course, that I have a Sun Solaris machine
"marsbase"
>with dedicated ISDN line on a Pipeline 75 "ISDN router."
>Let's call the segment with marsbase and the router "marsnet."
>The other end of the ISDN line is "earthnet."
>The router configuration is frozen and I cannot change it,
>and the only place it can call is earthnet, which is behind a corporate
>campus firewall.
>
>I also have root on a friendly internet-connected Linux machine, outside
>the firewall, "babylonstation."
>And I have a user (not root) account on "earthmole" which is on earthnet.
>
>Marsbase can telnet to earthmole and earthmole can telnet, FTP, and HTTP
>to bablylonstation through a proxy. Other ports are not open
>in the routers, except for DNS.
>
>"Marsbase" cannot telnet to the world because of the firewall,
>and the world cannot telnet into anything behind the firewall.
>
>Now, I want to add a Linux PC "rebelbase" to marsnet, and the users on
>rebelbase want to see the Internet as if they were on babylonstation.
>If they can't have total transparency the rebels will take what they
>can get.
>
>We have:
>
> [marsnet] [earthnet] [Internet]
>
>rebelbase --+-- router ==[ISDN]== router --+-- firewall --+--+--+--
bablylonstation
> | |
> | |
> marsbase earthmole
>
>Can this be done? What do we run, where? Which HOWTOs cover this
>kind of tunneling?
>
>
>TIA
>Cameron
------------------------------
From: "Curtis Adams" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.help,comp.os.linux.misc
Subject: Re: I need help on configuring a RAID 1
Date: Tue, 9 Mar 1999 08:40:27 -0500
There's a mini-Howto at
http://www.ssc.com/linux/LDP/HOWTO/mini/Software-RAID.html
that's a good starting point. However, it's very lacking in information.
Here's a simplified step-by-step process
1) Install the RAID tools v0.5 (if you have RedHat 5.2, the tools are on the
CD in RPM format)
2) create a partition on the two separate drives using fdisk (must be equal
in size)
3) edit /etc/raidtab to look like... (modify the device parameters to
whatever your drives are)
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
device /dev/hdc1
raid-disk 0
device /dev/hdd1
raid-disk 1
4) Add the RAID to the kernel configuration, execute...
raidadd /dev/md0
5) Start the RAID, execute...
raidstart /dev/md0
6) Format the RAID device, execute...
mke2fs /dev/md0
7) Change to the top level mouting point, and create a directory name for
the mounting point,...
cd /
mkdir myraid
8) Mount the RAID device as the new directory,
mount -t ext2 /dev/md0 /myraid
You can also tell Linux to automatically mount the device when booting, if
desired. I used linuxconf to do this.
Review all the man pages for the various commands so you can customize to
your needs.
Good Luck
Curtis
Ray wrote in message ...
>Hi, i have a 4 gb SCSI boot hd and 2 9 gb SCSI data hd�s. I would do a raid
>1 over the 2 9 gbhd�s, how do i ?
>
>(raid 1 i think it is : mirroring a harddisk and keep it alive mirrored)
>(i think to keep the mirror alive is much easier than to bring it to live
>;-) )
>
>
>Regards
>The Ray
>
>Where i work http://www.ultrasonic.at
>
>
>
>
>
------------------------------
From: DanH <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: For all you Nicrosoft lovers
Date: Mon, 08 Mar 1999 22:29:35 +0000
Robert Bentley wrote:
>
> All I want to know is what this has to do with linux , and this newsgroup
> Peyton Bay wrote in message <[EMAIL PROTECTED]>...
> >childsplay wrote:
> >
Well, it is a good way to break the ice and wake people up about what M$
is doing and opening that there are "other" operating systems out there.
Dan
------------------------------
From: [EMAIL PROTECTED] (Joe Croft)
Subject: Dual Ethernet problems
Date: 9 Mar 1999 12:31:46 GMT
Hi Yall,
I'm hoping that one of y'all can help me. I'm setting up a Linux machine
as a go between for a real network and a small test network.
My problem is that once I set up the 2 network cards, I can ping the
network through the first NIC but I get no responses from the second
network. It appears that the other devices on the network get the
ping packets and send them back but my machine does not see them.
The other devices even report my machines MAC (arp) address. Though my
machine reports all zeros for the other machine. Forcing the MAC address
don't seem to help either.
One thing not shown in the below configuration, There is also a router at
148.153.95.1 and usually there is a default route to it. Sadly, it makes no
difference whether it's there or not.
Here is my configuration:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:57 errors:0 dropped:0 overruns:0
TX packets:57 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:A0:24:80:7D:9B
inet addr:148.153.95.22 Bcast:148.153.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34867 errors:0 dropped:0 overruns:0
TX packets:627 errors:0 dropped:0 overruns:0
Interrupt:11 Base address:0xb800
eth1 Link encap:10Mbps Ethernet HWaddr 00:60:8C:C9:CB:B6
inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:49 errors:0 dropped:0 overruns:0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 2 eth1
148.153.0.0 0.0.0.0 255.255.0.0 U 0 0 7 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 2 lo
--
======================================================================
Imagine the day when your computer's| Joe Croft <[EMAIL PROTECTED]>
OS is Free and NOT owned by any one,| CroftJ Internet Services
but instead, owned by everyone. That| http://www.croftj.net/
day is here! http://www.linux.org | finger [EMAIL PROTECTED] for keys
======================================================================
------------------------------
From: "Adelphia.news" <[EMAIL PROTECTED]>
Subject: Cablemodem installation OK - No ROUTE
Date: Tue, 9 Mar 1999 07:55:09 -0500
Installed RH5.2 one week ago today. First time with this impressive Os, so
theres a real learning curve here.
Here's the skinny:
ppp0 initializes, I log in to server, and the cable modem initializes,
show's all is ok.
Then I perform a ROUTE and only get the table header information, no routes.
Perform a netstat -rn and the following appears:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.1.65.141 0.0.0.0 255.255.255.255 UH 1500 0 0
ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 1500 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
0.0.0.0 10.1.65.141 0.0.0.0 UG 1500 0 0
ppp0
Then I perform ifconfig -a and I receive the following :
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
eth0 Link encap:Ethernet HWaddr 00:C0:F0:26:A7:3C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:12 Base address:0x280
ppp0 Link encap:Point-to-Point Protocol
inet addr:24.48.37.18 P-t-P:10.1.65.141 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:28 errors:1 dropped:1 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Memory:3b2038-3b2c04
cm0 Link encap:Ethernet HWaddr 00:00:29:D9:32:4A
inet addr:24.48.37.18 P-t-P:10.1.65.141 Bcast:24.48.37.255
Mask:255.0.0.0
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:11 Base address:0x110
All this good stuff looks like everything's working, but I cannot talk to
the internet at this point. I can ping the server, I can ping myself, and
all clients on the internal network, but nothing doing when I try to access
the internet.
Any assistance with matter would be wildly appreciated from this 5-day-old
linux user.
Scott Fleming
------------------------------
From: "Adelphia.news" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.ppp
Subject: RH 5.2 - No route - but good connection...
Date: Tue, 9 Mar 1999 07:56:30 -0500
Installed RH5.2 one week ago today. First time with this impressive Os, so
theres a real learning curve here.
Here's the skinny:
ppp0 initializes, I log in to server, and the cable modem initializes,
show's all is ok.
Then I perform a ROUTE and only get the table header information, no routes.
Perform a netstat -rn and the following appears:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.1.65.141 0.0.0.0 255.255.255.255 UH 1500 0 0
ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 1500 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
0.0.0.0 10.1.65.141 0.0.0.0 UG 1500 0 0
ppp0
Then I perform ifconfig -a and I receive the following :
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
eth0 Link encap:Ethernet HWaddr 00:C0:F0:26:A7:3C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:12 Base address:0x280
ppp0 Link encap:Point-to-Point Protocol
inet addr:24.48.37.18 P-t-P:10.1.65.141 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:28 errors:1 dropped:1 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Memory:3b2038-3b2c04
cm0 Link encap:Ethernet HWaddr 00:00:29:D9:32:4A
inet addr:24.48.37.18 P-t-P:10.1.65.141 Bcast:24.48.37.255
Mask:255.0.0.0
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:11 Base address:0x110
All this good stuff looks like everything's working, but I cannot talk to
the internet at this point. I can ping the server, I can ping myself, and
all clients on the internal network, but nothing doing when I try to access
the internet.
Any assistance with matter would be wildly appreciated from this 5-day-old
linux user.
Scott Fleming
------------------------------
From: Nguyen-Dai Quy <[EMAIL PROTECTED]>
Subject: D-Link DE 220 card for RH-5.2 ?
Date: Tue, 09 Mar 1999 14:03:42 +0100
Hi,
Is this possible to configure DE 220 card for network with RH-5.2 ?
If yes, how ?
Thanks veru much.
_______________________________________________________
Nguyen-Dai Quy
LTAS - ULG
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.networking) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Networking Digest
******************************