Linux-Networking Digest #854, Volume #9 Mon, 11 Jan 99 23:13:40 EST
Contents:
Re: Commands (Arthur Chiu)
Re: LAN at home (Steve Ledford)
Firewall throughput? (Chris Goebel)
Re: Slow Dial-Up connection. Packet Size?? (Lee Wee Tiong)
How to setup a new network card ? ("ronsu")
Re: su won't let me shutdown/ifconfig (Tom Elsesser)
386 and cable modem (Josh Rusko)
Re: How to set up a DNS ?? (Juergen Heinzl)
Re: Public_html (L J Bayuk)
Re: utmp and wtmp (Chris Rankin)
Re: PPP to Win NT RAS, I don't understand what's going on... help ! (Clifford Kite)
Re: weird problem - please help... (Tim Kohlstedt)
Q(nfs): sharing most of /tftpboot/$CLIENT/etc/ between clients (Harald Kirsch)
Re: Routing using RedHat 5.2 (Ben Greear)
Routing with RedHat 5.2 ([EMAIL PROTECTED])
RH 5.2 & SMC 1211TX PCI Ethernet Card ("Perviz Tharani")
Routing with RedHat 5.2 ([EMAIL PROTECTED])
tcp -ethernet (Charles Norris)
----------------------------------------------------------------------------
From: Arthur Chiu <[EMAIL PROTECTED]>
Subject: Re: Commands
Date: Tue, 12 Jan 1999 09:37:26 +0800
Sorry that I forgot to mention that mount only works with root.
------------------------------
From: Steve Ledford <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: LAN at home
Date: Mon, 11 Jan 1999 12:53:49 -0600
campin,
I just wanted to add to the root's reply. I would suggest looking at the
"physical" aspects of your network. By virtue of your observation that
you see "blinking" lights on the card during the ping this suggests that
there is a problem with the wire or as root suggested perhaps the
connector the card is trying to go out on. Also, don't forget to
terminate the connectors on the ends of your 10Base2 net as this can
create line problems with out them. You also probably already know this
but you cannot connect two computer together without the T-connectors
and termination either as this will create line loading problems the
same as not having terminations on the T.
good luck.
campin wrote:
>
> Sorry people,
> I havw two boxes at home, the Pentium is named "bipolar" and the i486 is
> "skitzo." PPP has not been enabled at any point during the
> diagnostics/lan installation.
> I have a dual boot Micronics/EDS Pentium 90 with 16 megs RAM, a 4 gig
> hard drive. I was just given an i486 DX4
> 100mz without a hard drive or CDROM and 24megs of RAM on the board.
> What's the first thing a Linux junkie thinks
> of when he/she is given another box? LAN AT HOME!
> I got my hands on two unused NICS, same make and model, (SMC EtherEZ,
> ISA) from work that have the 10base2
> coax connectors and bought the thinnet cable, T connectors and
> terminators at Comp USA. I plugged in an extra HDD
> with Red Hat 5.1 already installed, plugged in the NIC and booted her
> up. The new HDD already had a SMC NIC driver
> compiled into the kernel, so it saw the NIC at boot-up.
> I didn't change the IP address for the 486 from 199.208.118.159 since
> it's what I already configured on the LAN at
> work, and I just wanted to test my new network before assigning new
> addresses. The pentium is also a "real" IP
> address that can't be connected the internet - 199.208.118.10
>
> I can't get the two machines to ping each other...
>
> dmesg shows the following bootup messages:
>
> 486 (skitzo):
> smc-ultra.c:v2.02 2/3/98 Donald Becker ([EMAIL PROTECTED])
> eth0: SMC EtherEZ at 0x240, 00 00 C0 4B B4 C7,EEPROM IRQ 11
> programmed-I/O mode.eth0
>
> pentium (bipolar):
> smc-ultra.c:v2.02 2/3/98 Donald Becker ([EMAIL PROTECTED])
> eth0: SMC EtherEZ at 0x240, 00 00 C0 09 94 C7,EEPROM IRQ 11
> programmed-I/O mode.
>
> Here's ifconfig on eth0:
>
> [root@skitzo /]# ifconfig eth0
> Link encap:Ethernet HWaddr 00:00:C0:4B:B4:C7
> inet addr:199.208.118.159 Bcast:199.208.118.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:245 errors:0 dropped:0 overruns:0
> TX packets:1087 errors:0 dropped:0 overruns:0
> Interrupt:11 Base address:0x250 Memory:c0000-c2000
>
> [root@bipolar floppy]# ifconfig eth0
> eth0 Link encap:Ethernet HWaddr 00:00:C0:09:94:C7
> inet addr:199.208.118.10 Bcast:199.208.118.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 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:0x250 Memory:c0000-c2000
>
> [root@skitzo init.d]# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 199.208.118.0 * 255.255.255.0 U 0
> 0 13 eth0
> 127.0.0.0 * 255.0.0.0
> U 0 0 4 lo
> default * 0.0.0.0
> U 0 0 0 eth0
>
> [root@bipolar floppy]# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 199.208.118.0 * 255.255.255.0 U
> 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U
> 0 0 0 lo
>
> [root@skitzo /root]# netstat -r -n
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS
> Window irtt Iface
> 199.208.118.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 199.208.118.159 0.0.0.0 UG
> 1500 0 0 eth0
>
> [root@bipolar floppy]# netstat -r -n
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS
> Window irtt Iface
> 199.208.118.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
>
> [root@skitzo init.d]# cat /proc/ioports
> 0000-001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0070-007f : rtc
> 0080-009f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : npu
> 01f0-01f7 : ide0
> 0240-025f : SMC EtherEZ
> 03c0-03df : vga+
> 03f0-03f5 : floppy
> 03f6-03f6 : ide0
> 03f7-03f7 : floppy DIR
> 03f8-03ff : serial(auto)
>
> [root@bipolar floppy]# cat /proc/ioports
> 0000-001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0070-007f : rtc
> 0080-009f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : npu
> 01f0-01f7 : ide0
> 0240-025f : SMC EtherEZ
> 02f8-02ff : serial(auto)
> 03c0-03df : vga+
> 03f0-03f5 : floppy
> 03f6-03f6 : ide0
> 03f7-03f7 : floppy DIR
> 03f8-03ff : serial(auto)
> fbf0-fbf7 : IDE DMA
>
> [root@skitzo init.d]# cat /proc/interrupts
> 0: 2792335 timer
> 1: 7713 keyboard
> 2: 0 cascade
> 4: 79965 + serial
> 8: 1 + rtc
> 11: 1350 SMC EtherEZ
> 13: 1 math error
> 14: 361097 + ide0
>
> [root@bipolar net]# cat /proc/interrupts
> 0: 283524 timer
> 1: 4544 keyboard
> 2: 0 cascade
> 6: 10 + floppy
> 8: 1 + rtc
> 11: 0 SMC EtherEZ
> 12: 141004 PS/2 Mouse
> 13: 1 math error
> 14: 21054 + ide0
>
> It isn't conflicts, it isn't routing tables (or is it?), and it
> definitely isn't a failure of eth0 to be recognized by the kernel.
> I edited /etc/hosts on both machines and added the name and IP address
> of the other machine.
> I remembered how I didn't ever get even a ping returned at work until I
> put in the address of the DNS server, even
> though I was pinging machines in my /etc/hosts file, so I made the 486
> the nameserver and started up named on it. I set
> the other box to use the 486 as the default nameserver but it still
> didn't work. I suspect that I didn't set up DNS right,
> and the books didn't seem to help any.
>
> [root@skitzo /]# cd /proc/net
> [root@skitzo net]# cat dev
> Inter-| Receive | Transmit
> face |packets errs drop fifo frame|packets errs drop fifo colls
> carrier
> lo: 932 0 0 0 0 932 0
> 0 0 0 0
> eth0: 465 0 0 0 0 1407 0
> 0 0 0 0
>
> [root@bipolar floppy]# cd /proc/net
> [root@bipolar net]# cat dev
> Inter-| Receive | Transmit
> face |packets errs drop fifo frame|packets errs drop fifo colls carrier
>
> lo: 0 0 0 0 0 0
> 0 0 0 0 0
> eth0: 0 0 0 0 0 0
> 0 0 0 0 0
>
> I realize that the packets under "receive" came from me pinging my own
> machine.
> My pentium has one partition with dual boot win95/NT4 so I booted up NT
> and it recognized the card and installed it
> properly. I added the Linux box to it's LMHOSTS file and tried to ping
> it... no luck.
> I also installed a network monitor which gives reports on all the
> packets, so I set the NT box and skitzo pinging
> each other continuously, and watched. The packets on the NT box
> (bipolar) were going to the right broadcast address,
> 199.208.118.255 but nothing seemed to be going down the wire. The
> sniffer also showed nothing from skitzo.
>
> I guess I need to rule out the thinnet wiring itself but it's brand new,
> and so are the connectors (with the proper 50 ohm
> terminators). I bought 50 ohm RGU58A/U cabling, is it the right kind?
>
> One interesting thing is that my NIC's lights on both machines blink
> when I give ping commands. I'm guessing that the
> lights indicate packet activity, so where am I going wrong?
>
> I've even totally redone /etc/smb.conf to try and talk to the NT box
> using Samba but no luck.
> Anyone have any ideas?
>
> I tried to include every troubleshooting command I could come up with.
> If I left out anything, just reply and request it.
> Thanks
> Nate
------------------------------
From: Chris Goebel <[EMAIL PROTECTED]>
Subject: Firewall throughput?
Date: Mon, 11 Jan 1999 15:03:44 -0500
We are currently using a PC w/linux as our corporate firewall and the
question came
up about throughput.
How big a pipe can you connect to a PC before you have a problem?
How small a PC can you use for packet filtering? Application filtering?
Chris Goebel
[EMAIL PROTECTED]
------------------------------
From: Lee Wee Tiong <[EMAIL PROTECTED]>
Subject: Re: Slow Dial-Up connection. Packet Size??
Date: Tue, 12 Jan 1999 04:03:58 +0900
> 5. I've tried varying the packet size by changing the MRU setting.
> Performance was the same at a packet size of 100, 500 and 1500 bytes.
> My questions here is, if this is left blank, will it adjust the packet
> size dynamically? ...not sure how that works under Linux.
Try mru 296 and maybe mtu 296. Refer to "man pppd" for more details.
> 6. I've tried adjusting the connection speed to 38K,57K and 115K. No
> effect.
Set the connection speed to the highest your serial port supports. For
example, if it's UART16550A, try setting speed to 115K.
Hope the above helps!
--
LWT
------------------------------
From: "ronsu" <[EMAIL PROTECTED]>
Subject: How to setup a new network card ?
Date: Mon, 11 Jan 1999 22:49:29 +0800
Hi all:
Does anybody know how to setup a new network card in an old system?
Where can I get information about this ? Any message to me is
appreciation.
Thank you a lot !
My e-mail is [EMAIL PROTECTED]
Ron Su
------------------------------
From: [EMAIL PROTECTED] (Tom Elsesser)
Subject: Re: su won't let me shutdown/ifconfig
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Jan 1999 20:00:15 GMT
If you use a " - " between the "su" and "root", it will change the
environment to what would be expected if root had actually logged in.
So " su - root" would give you the root environment (i.e. PATH).
Tom
On Mon, 11 Jan 1999 13:28:38 -0600, Sean McEwan <[EMAIL PROTECTED]>
wrote:
|>When you "su root", look at your $PATH with echo. Shutdown is in the /bin or
|>/sbin directory, I think. When you "su root", you get superuser powers, but
|>your path doesn't change from the previous login. Once you find the directory
|>shutdown is in, you can type "./shutdown -h 0".
|>
|>"A.G." wrote:
|>
|>> I have read in many a post that one shouldn't logon as root.
|>>
|>> Alright, I have set up an account for myself to log on. But how do I
|>> shutdown the system in the end of the session? "su" doesn't help - I get
|>> "command not found" message when I try to enter shutdown or ifconfig for
|>> example.
|>>
|>> I have to log on as root at the end of each session to only shutdown. This
|>> is at the very least inconvenient :). I realize that it's probably my
|>> ignorance, that explains my not knowing a way out of this.
|>>
|>> Please advise,
|>>
|>> A.G.
------------------------------
From: Josh Rusko <[EMAIL PROTECTED]>
Subject: 386 and cable modem
Date: Mon, 11 Jan 1999 21:42:14 -0500
I want to add a Linux box to my home network, as the internet connection
running IP masq. would a 386/20 be able to keep up with
masquerading/firewalling at cable modem speeds or would it cause a
bottleneck in my internet connection? If so, what is the minimum speed
you would recommend to use with a cable modem (assuming ~1.5Mbps)
thank you
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: How to set up a DNS ??
Date: Mon, 11 Jan 1999 20:56:53 GMT
In article <[EMAIL PROTECTED]>,
Ashutosh Sharma wrote:
>
>How can one set up a DNS on a linux box??
A primary, secondary, internal primary or a caching only ? ... for the
last one see ...
http://www.monocerus.demon.co.uk/httpd-server/manuals/examples/caching.html
... as an example and set your /etc/resolv.conf should look like ...
domain your.domain
nameserver 127.0.0.1
... this then.
See http://www.isc.org too and for a more complicated thingy you should
get you "DNS & BIND", O'Reilly, aside from asking, that is. It is just
a good reference too and explains quite some errors and their reason.
Cheers,
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
\ Phone Private : +44 181-332 0750 \ /
------------------------------
From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: Public_html
Date: 12 Jan 1999 01:28:48 GMT
[EMAIL PROTECTED] wrote:
>I'm trying to allow users on our web server to have home pages. I've
>placed UserDir public_html in srm.conf and
><Directory ~/public_html>
>AllowOverride None
>Options Indexes Includes FollowSymLinks
>order allow,deny
>allow from all
></Directory>
>in the access.conf file. I've also added the directory
>/home/someuser/public_html
>and placed an index.html file there. The directory and file are set to
>someuser.someuser.
>I haven't made a .htaccess file in the directory. Do I need this file
>and what do I place in it. Also, is there any other files that I should
>make? Thanks in advance Brett
Check your error log, but I think the problem is: <Directory ~/public_html>
This means nothing to Apache. If you have a global "deny-all" on
<Directory />, this will prevent access to your home directories.
If all your user's home directories are under /home, I think you need
to have a <Directory /home> section that allows access.
------------------------------
From: Chris Rankin <[EMAIL PROTECTED]>
Subject: Re: utmp and wtmp
Date: Mon, 11 Jan 1999 15:49:36 -0500
Aaron Thomason wrote:
> how do i view my utmp and wtmp log files?
who, last, lastlog
Chris.
------------------------------
From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: PPP to Win NT RAS, I don't understand what's going on... help !
Date: 11 Jan 1999 20:15:13 -0600
PeP ([EMAIL PROTECTED]) wrote:
: hi,
: Since this week-end I try to set up a PPP connexion between my linux bow and
: the Windows NT 4 RAS server at my office.
: I 'm running Linux 2.0.34 under RH 5.1. I'm using pppd-2.3.5.
: I think I compiled everything correctly, applying patches where it need to
: be applied, using libdes to enable MS-CHAP to work correctly and so on.
: My modem connect to the RAS correctly, my machine and RAS excange some
: informations and then pppd gets a SIGHUP and my modem hang up. I just began
: to read what's going on in PPP protocol, but I still cannot understand what
: are the data exchanged.
: Here follows the scripts options files, my -fake- chap-secrets file and a
: log of the connexion.
: 1) LOG of the connexion
: ----------------------------------
<snip>
: Jan 11 21:05:32 darkvador pppd[480]: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0>
: <auth chap 80> <magic 0x5a06> <pcomp> <accomp> < 11 04 06 4e> < 13 17 01 ac
: 2d 70 50 a8 10 11 d2 bc 40 00 a0 24 aa af 14 00 00 00 00>]
: Jan 11 21:05:32 darkvador pppd[480]: sent [LCP ConfRej id=0x0 < 11 04 06 4e>
: < 13 17 01 ac 2d 70 50 a8 10 11 d2 bc 40 00 a0 24 aa af 14 00 00 00 00>]
With the disclaimer that I'm no expert, it looks like the RAS is asking for
something called Numbered-Mode
11 Numbered-Mode [RFC1663]
and Callback
13 Callback [RFC1570]
with operation field 17 which is not listed as a callback operation in the
list of protocols and operations that I have.
Your version of pppd is not configured for callback and rejects both
Numbered-Mode and Callback. The rejection by pppd could be fatal if the
RAS requires it. I've no idea what Numbered-mode is. You can find the
protocol list that I have and RFCs at
http://www.isi.edu/in-notes/iana/assignments/ppp-numbers
http://info.internet.isi.edu:80/7c/in-notes/rfc/.cache
<snip>
--
Clifford Kite <[EMAIL PROTECTED]> Not a guru. (tm)
/* The signal-to-noise ratio is too low in many [news] groups to make
* them good candidates for archiving.
* --- Mike Moraes, Answers to FAQs about Usenet */
------------------------------
From: Tim Kohlstedt <[EMAIL PROTECTED]>
Subject: Re: weird problem - please help...
Date: Mon, 11 Jan 1999 21:06:47 -0600
One possibility is that some sites (especially banks) do a reverse name
lookup on the source address to find out the name of the machine
connecting to their server. If your IP address doesn't have a reverse
name record in dns, they reject the connection. Pings still work
(unless their firewall rejects them also).
To check this, you can use nslookup.
This example assumes the ip address of your machine is 192.168.1.1
nslookup # start nslookup
set type=any # tell nslookup to return info other than A records
1.1.168.192.in-addr.arpa # this is the ip address of your
# machine in reverse
If you don't get a valid reply, your ip address doesn't have a
reverse pointer, and may be causing your problem. You may have to
switch name servers to find the authoritative server for your address
range.
------------------------------
From: [EMAIL PROTECTED] (Harald Kirsch)
Subject: Q(nfs): sharing most of /tftpboot/$CLIENT/etc/ between clients
Date: 11 Jan 1999 21:24:30 GMT
A while ago I came across a patch of part of the NFS-system (don't
know whether client- or server-side) which allows the following:
Suppose a set of files (not dirs) on the server named e.g.
/anydir/theFile
/anydir/theFile%theHost1
/anydir/theFile%theHost2
Further suppose a mount on clients `theHost1', `theHost2' and
`otherHost' like:
mount -t nfs server:/anydir /anydir
The patch I am talking about makes sure that all three clients will
have a file named
/anydir/theFile
however the nfs-system maps one of the three files listed above
onto that name such that
`theHost1' in fact accesses server:/anydir/theFile%theHost1,
`theHost2' in fact accesses server:/anydir/theFile%theHost2,
while
`otherHost' accesses the default file server:/anydir/theFile
This mechanism is pretty nice to let serveral diskless clients share a
mostly common /etc, /lib or /bin directory on a server.
PLEASE: Don't tell me that I can get a similar behaviour with
softlinks. At least pam does not seem to like /etc/password to be a
softlink, and /etc/password is one of the few files the clients shall
not share.
Where is this patch?
Regards,
Harald Kirsch
--
=====================+==================+==========================
Harald Kirsch (@home)| | Now I rebooted.
[EMAIL PROTECTED] | | --- Jerry Pournelle, BYTE
gegen Punktfilitis hilft nur `chmod u-w ~'
------------------------------
From: Ben Greear <[EMAIL PROTECTED]>
Subject: Re: Routing using RedHat 5.2
Date: Mon, 11 Jan 1999 19:34:07 -0700
[EMAIL PROTECTED] wrote:
>
> Yes Jaspreet, I enabled IP forwarding when I recompiled the kernel.
> Thanks for responding.
I think you need to enable it at runtime as well.
Try something like:
echo 1 > /proc/sys/net/ipv4/ip_forward
This should go/ should be in your /etc/rc.d/rc2.d/S10network file.
Ben
>
> R O B E R T
>
> In article <01be3daf$c6d40f30$0201a8c0@zeus>,
> "Jaspreet Singh" <[EMAIL PROTECTED]> wrote:
> > Did you enable IP forwarding?
> >
> > Jaspreet Singh
> > www.sangoma.com
> >
> > [EMAIL PROTECTED] wrote in article
> > <77drbg$bm2$[EMAIL PROTECTED]>...
> > > No matter what I've tried, I cannot get my machine to route packets
> > > between the two ethernet interfaces. Hosts on both networks and other
> > > networks can be pinged from my Linux machine. I have recompiled the
> > > kernel for firewalling and have issued appropriate ipfwadm commands from
> > > /sbin. I am not masquerading or proxying. My routing table appears to
> > > accurately reflect the network configuration. I cannot ping the
> > > ethernet "internet" card of my Linux machine from the "local" network.
> > > Here is what my test network, basically, looks like;
> > >
> > > ^
> > > |
> > > _______|________
> > > | eth0 |
> > > | a.b.c.155 |gateway=a.b.c.254 (default)
> > > |----------------|
> > > | eth1 |
> > > | 192.168.48.155 |
> > > |________________|gateway=a.b.c.155
> > > |
> > > |
> > > |
> > > _______^________
> > > | eth0 |
> > > | 192.168.48.154 |
> > > |________________|gateway=192.168.48.155
> > >
> > > Routing Table
> > > ---------------------------------
> > > |a.b.c.0 |0.0.0.0| eth0 |
> > > |192.168.48.0|0.0.0.0| eth1 |
> > > |127.0.0.0 |0.0.0.0| lo |
> > > |0.0.0.0 |a.b.c.254| eth0 |
> > > ---------------------------------
> > >
> > > The sole purpose of this Linux-based machine is to run as a firewall.
> > > Any suggestions would be greatly appreciated. Thanks.
> > >
> > > R O B E R T
> > >
> > > -----------== Posted via Deja News, The Discussion Network ==----------
> > > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
> >
> > >
> >
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
--
Ben Greear ([EMAIL PROTECTED]) http://www.primenet.com/~greear
Author of ScryMUD: mud.primenet.com 4444
http://www.primenet.com/~greear/ScryMUD/scry.html
------------------------------
From: [EMAIL PROTECTED]
Subject: Routing with RedHat 5.2
Date: Mon, 11 Jan 1999 21:34:05 GMT
No matter what I try, I cannot get my machine to route packets
between the two ethernet interfaces. Hosts on both networks and other
networks can be pinged from my Linux machine. I have recompiled the
kernel for firewalling and have issued appropriate ipfwadm commands from
/sbin. I am not masquerading or proxying. My routing table appears to
accurately reflect the network configuration. I cannot ping the
ethernet "internet" card of my Linux machine from the "local" network.
I recently custom-installed RedHat 5.2. Here is what my test network,
basically, looks like;
^
|
_______|________
| eth0 |
| a.b.c.155 |gateway=a.b.c.254 (default)
|----------------|
| eth1 |
| 192.168.48.155 |
|________________|gateway=a.b.c.155
|
|
|
_______^________
| eth0 |
| 192.168.48.154 |
|________________|gateway=192.168.48.155
Routing Table
=================================
|a.b.c.0 |0.0.0.0| eth0 |
|192.168.48.0|0.0.0.0| eth1 |
|127.0.0.0 |0.0.0.0| lo |
|0.0.0.0 |a.b.c.254|eth0 |
=================================
The sole purpose of this Linux-based machine is to run as a firewall.
Any suggestions would be deeply appreciated. Thanks.
R O B E R T
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Perviz Tharani" <[EMAIL PROTECTED]>
Subject: RH 5.2 & SMC 1211TX PCI Ethernet Card
Date: Mon, 11 Jan 1999 13:42:50 -0800
Hello:
Linux newbie here....installing a network is...interesting...
My problem: I'm using a SMC 1211TX Plug and Play PCI card and couldn't get
it to work with any of the SMC drivers available in the RH 5.2
installation. Any recommendations? From reading this news group I'm aware
that most cards support the NE2000 spec in some form or another but am
unaware of how to begin and the idea of recompiling the kernel is not too
appealing to a Linux newbie. (*Really New - I consider myself almost and
expert in NT and I feen I haven't even begun to harness the potential of
Linux.)
Thanks in advance.
------------------------------
From: [EMAIL PROTECTED]
Subject: Routing with RedHat 5.2
Date: Mon, 11 Jan 1999 21:34:06 GMT
No matter what I try, I cannot get my machine to route packets
between the two ethernet interfaces. Hosts on both networks and other
networks can be pinged from my Linux machine. I have recompiled the
kernel for firewalling and have issued appropriate ipfwadm commands from
/sbin. I am not masquerading or proxying. My routing table appears to
accurately reflect the network configuration. I cannot ping the
ethernet "internet" card of my Linux machine from the "local" network.
I recently custom-installed RedHat 5.2. Here is what my test network,
basically, looks like;
^
|
_______|________
| eth0 |
| a.b.c.155 |gateway=a.b.c.254 (default)
|----------------|
| eth1 |
| 192.168.48.155 |
|________________|gateway=a.b.c.155
|
|
|
_______^________
| eth0 |
| 192.168.48.154 |
|________________|gateway=192.168.48.155
Routing Table
=================================
|a.b.c.0 |0.0.0.0| eth0 |
|192.168.48.0|0.0.0.0| eth1 |
|127.0.0.0 |0.0.0.0| lo |
|0.0.0.0 |a.b.c.254|eth0 |
=================================
The sole purpose of this Linux-based machine is to run as a firewall.
Any suggestions would be deeply appreciated. Thanks.
R O B E R T
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Charles Norris <[EMAIL PROTECTED]>
Subject: tcp -ethernet
Date: Mon, 11 Jan 1999 16:29:29 -0500
hi -
I'm new to linux and am having a problem setting yp an ethernet
between my to machines. I'm running Linksys pci cards which work
fine in windows. I don't think it's a hardware problem.
I can ping localhost ok, but not the other machine
When I do a netstat, I have no tcp connections, only udp.
It also says "active internet connections (w/o servers)".
When I installed Red Hat 5.1 on both machines, I set it up for
tcp-ip networking. I believe that I have my 'route' and
'ifconfig' set right.
I checked /etc/hosts, /etc/networks, /etc/inetd.conf, and all
seem to be ok.
When I boot, it says that it finds my eth0 allright, though
lately one machine says it can't find the network name and then
wont start networking, then the loopback is absent from 'route'
and 'ifconfig'.
I must have something fundamentally wrong if I have no tcp
connections.
I tried configuring the files by hand and using 'netconfig' in X
windows.
Any help would be greatly appreciated.
Thanks,Chuck
--
------------------------------
** 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
******************************