Linux-Networking Digest #542, Volume #12 Fri, 10 Sep 99 17:13:46 EDT
Contents:
Re: TCP on SCSI? (Stefan Schagerberg)
Re: netstat question???? (Bernd Eckenfels)
Re: fwtk http-gw problems with linux-2.2.9 (Mandrake 6) (Gord Shier)
Cable Modem woes ("Chuck Hancock")
NFS wrong fs type, bad option, bad superblock, etc ("John Eberhardt")
Re: Browsers and Linux (Carsten Lechte)
Junkbuster and multiple proxies (John Thompson)
Frame Relay & Linux (Ken McCord)
Re: Linux as a firewall (Bernd Eckenfels)
SIOCSIFFLAGS: resource temporarily unavailable !?! (Sascha Edelburg)
Re: ICQ server on Linux (Duncan Simpson)
Re: NFS problems under linux yet again (Jeremy Allison)
need help w/ dhcpcd & Cisco 675 (Andy Halper)
Re: accessing SAMBA from Network Neighborhood - help! ([EMAIL PROTECTED])
Re: 2 NICS on the same machine (QuestionExchange)
Network stalls... ([EMAIL PROTECTED])
Re: Redhat 6.0 & PPP Question (QuestionExchange)
Re: second ethernet-card ? (QuestionExchange)
Re: replacing the routing table with ipchains? (QuestionExchange)
Re: cable modem gateway server ([EMAIL PROTECTED])
SAMBA into Windows? Or make Windows comform to Linux? (Derek Sivers)
Server Side Includes in Apache ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: Stefan Schagerberg <[EMAIL PROTECTED]>
Crossposted-To: comp.networks
Subject: Re: TCP on SCSI?
Date: Fri, 10 Sep 1999 16:32:12 +0200
Maybe this is something for you
http://www.wwa.com/~scottr/sd/design/index.htm
Haven't tried it just stumbled on the link some while ago
/Stefan
Raffaello Brecht wrote:
> Van Snyder wrote:
> >
> > Is there a way to run TCP on SCSI?
> >
> > This may seem like a bizarre question, but here's the situation:
> >
> > We have a computer that has HIPPI on it, but only 10 MHz ethernet.
> > A 100 MHz ethernet card for it costs $4k (don't ask why).
> >
> > We have a computer that has 100 MHz ethernet on it. It would cost
> > $3k for HIPPI serial. HIPPI parallel isn't available for this computer.
> > Our HIPPI switch is parallel, so we'd need to spend another $4k for HIPPI
> > serial <-> HIPPI parallel interface.
> >
> > We need both HIPPI and 100 MHz ethernet access to the file system, which
> > could be put on either machine. (Right now, it's on the one with HIPPI.)
> >
> > The machines are adjacent, in the same room. If we can run TCP on
> > SCSI, we can get the effect of HIPPI + 100 MHz ethernet for the
> > cost of a SCSI cable, and some software.
> >
>
> AFAIK there was a RFC on this issue ... you�ve to grep them for i don�t
> know which RFC this was ... and as i remember, it was just an proposal.
> Never saw any implementation on this.
> IF ANYONE ELSE KNOWS MORE ABOUT THIS ... POST OR EMAIL PLEASE ! :)
> i�m interested in this too.
>
> bye
>
> --
> Raffaello Brecht
> FON: 05361 / 9-36882
> E-Mail: [EMAIL PROTECTED]
------------------------------
From: Bernd Eckenfels <[EMAIL PROTECTED]>
Subject: Re: netstat question????
Date: 10 Sep 1999 19:13:38 GMT
Clifford Kite <kite@nospam.%inetport.com> wrote:
> It's the default and is probably defined somewhere, maybe in
> /etc/networks, drop the -n from the netstat command and see.
actually it is hardcoded in the net-tools ... i always wondered if i shoudl
change it... but it is not a real problem since 0.0.0.0/0 or 0.0.0.0:0.0.0.0
is the corrent net/netmask for any address.
Greetings
Bernd
------------------------------
From: [EMAIL PROTECTED] (Gord Shier)
Crossposted-To: comp.security.firewalls
Subject: Re: fwtk http-gw problems with linux-2.2.9 (Mandrake 6)
Date: Fri, 10 Sep 1999 17:44:36 GMT
Thanks, barfoo.
I don't think that we're talking about the same thing. My problem
seems to manifest itself at the tcp level, not the http level. With
2.2.9, the tcp 'reset' bit gets set during the response from the proxy
to the client, and no other data gets sent. With 2.0.34, this bit
never gets sent and the entire http transaction happens.
Regards,
Gord.
On Fri, 10 Sep 1999 18:49:04 +0200, "barfoo" <[EMAIL PROTECTED]> wrote:
>Not sure if I am talking about the same problem...
>
>There's a problem with IE4 and http-gw.
>- IE4 send requests using 1.1 (configuring it to use 1.0 is a real
>challenge! On NT, you'll ave to enable or disale or do anything to "IP
>routing"in network configuration. don't ask me what IP routing has to do
>with HTTP).
>- when it receives the proxy response, IE4 ignores the response line that
>states the response is 1.0.
>- http-gw forwards the request using the same protocol as specified by the
>client. This is a bug.
>
>To solve the problem, modify the code of http-gw to always send HTTP/1.0
>when forwarding HTTTP requests
>(for example, edit process_request() and check if the proto is http, if so,
>make it "HTTP/1.0")
>
>
>Regards,
>
>
>
>
>
>
>Gord Shier <[EMAIL PROTECTED]> a �crit dans le message :
>[EMAIL PROTECTED]
>> Hi.
>>
>> I have been using the TIS fwtk http proxy. When I upgraded my machine
>> to Mandrake 6 (linux-2.2.9) from RedHat 5.1 Manhattan (linux-2.0.34),
>> I noticed that some pages (especially generated from form POSTs) do
>> not get back to the http client from the proxy.
>>
>> Here's what's happening (as monitored with a network sniffer):
>> 1. client POSTs the form to the proxy
>> 2. the proxy POSTs the form to the server
>> 3. the server responds to the proxy (all in one packet with the tcp
>> 'end-of-data' flag set)
>> 4. the proxy reads the first line of the response (HTTP/1.1 200 OK),
>> and sends it to the client (with the tcp 'reset-connection' flag set)
>> 4. the proxy reads the rest of the response lines from the server and
>> attempts to write them to the client, but no data actually goes onto
>> the network.
>>
>> The difference (between old system and new) seems to be that the proxy
>> sets the tcp 'reset-connection' flag, and that any data sent after
>> that is discarded somewhere between the application and the interface.
>>
>> I don't think that this is an http-gw issue (as I've gone through the
>> code fairly carefully), but I wonder if anyone else has seen this
>> problem.
>>
>> At the same time, I was wondering if any of the linux networking gurus
>> might know why this is happening.
>>
>> Best regards to all.
>> Gord.
>> [EMAIL PROTECTED]
>
>
------------------------------
From: "Chuck Hancock" <[EMAIL PROTECTED]>
Subject: Cable Modem woes
Date: Fri, 10 Sep 1999 14:28:57 -0400
So I have been trying to get DHCP client to work for a while and getting
desperate, I have tried a new test. This is what I know.
Setup:
1 Win2000 machine
1 RH Linux 6.0 machine
1 hub (obviously with Linux, win machine, and cable modem attached)
1 LAN City Cable Modem (Mediaone RR SE region)
Winblows works fine.
At boot, DHCP (linux) fails to get IP.
After trying many times, I figured, forget DHCP for a min, lets try a static
IP.
On my win machine, I ping a few machines on the network to find an available
IP on my subnet. When found, I hardcode the available IP, gateway, subnet,
DNS servers, network into RH network config.
I can now ping my win machine and my win can ping my linux. My win can
telnet to my linux. My linux can telnet my win. My linux can not ping any
other computer on the network (including gateway or DNS servers).
IT would seem as though it is a hardware issue, but my 2 computer can see
eachother fine. At one point I tried the cable modem straight to the NIC in
the linux with no luck, but of course straight to the win works.
I'm pretty much lost now. Any suggestions? It must be something I'm
overlooking.
-chuck
------------------------------
From: "John Eberhardt" <[EMAIL PROTECTED]>
Subject: NFS wrong fs type, bad option, bad superblock, etc
Date: Fri, 10 Sep 1999 09:59:25 -0500
Reply-To: "John Eberhardt" <[EMAIL PROTECTED]>
When I try to mount a TCPware VMS NFS export, I get this message:
"mount: wrong fs type, bad option, bad superblock on
server.domain.com:/mnt/mountpoint,
or too many mounted file systems . "
I have an NT box running Intergraph NFS that can successfully mount this
export.
I can also mount the NT NFS export with the Caldera
2.2 Linux box using the same mount command syntax.
Anyone get this message and get it to work?
Thanks,
John Eberhardt
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Carsten Lechte)
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: Browsers and Linux
Date: 10 Sep 1999 16:55:35 +0200
In <[EMAIL PROTECTED]> "Ernest" <[EMAIL PROTECTED]> writes:
> To me it make sense to accept that my message (the reply) is most important.
> Like a letter - do I repeat the complete letter and then put my reply to it?
> No, I reply and then refer to sections in your letter. So, what goes on top is
> my reply. (The most important issue). What goes at the bottom is what I am
> refer to (Your question).
> [many lines of quoted text deleted]
Always two there are: First the question, then the answer.
This is not only a natural sequence (I am not saying it is the
only one), but also enforces a bit of quoting discipline: If
the whole first screen consists entirely of quoted text, then
you did not snip enough of it.
But if you write your answer on the top, there is always the
tendency to become lazy and quote the whole previous posting
so that "people can get into the discussion at quick glance".
This leads to wasted bandwidth, since obviously those
newsreaders which enforced a ratio of new to quoted text of
more than one have not really caught on.
regards, Carsten.
--
Carsten Lechte, student of physics in Kiel, nospam, Germany.
Neu und (ahem) lesenswert: http://www.toppoint.de/~chl/
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Junkbuster and multiple proxies
Date: Fri, 10 Sep 1999 10:08:49 -0600
I am trying to configure junkbuster to work through a second
proxy running on a different machine. I have been using
junkbuster through localhost on port 8000 for quite some
time,
but now need to access a second proxy on a different
machine. I
have tried using the "/etc/junkbuster.forward" file to
specify
the second machine thus:
* proxy.remote.com:9876 . .
which, if I understand things properly, tells junkbuster to
forward all requests through the proxy running on
proxy.remote.com's port 9876.
Unfortunately, when I do this I can no longer access
anything
outside my machine; requests time out and I get the
Junkbuster
"no such domain" screen.
In Netscape's manual proxy configuration, if I replace
junkbuster
running on localhost port 8000 with proxy.remote.com port
9876 I
can access other sites just fine through the remote proxy,
but then
junkbuster has been cut out of the loop.
What am I doing wrong?
--
-John ([EMAIL PROTECTED])
------------------------------
From: Ken McCord <[EMAIL PROTECTED]>
Subject: Frame Relay & Linux
Date: Fri, 10 Sep 1999 14:35:34 -0400
Can anyone using Linux boxes to connect to Frame Relay networks give
their opinion on the following V.35 serial boards???
Emerging Technologies ET/PCISNYC
Cyclades PC300
Sangoma S508
I'm looking to use the Linux boxes as routers with a 256k Frame Relay
connection. I'd also like to install USR BitSurfr Pro ISDN modems on
each as a fallover in case the network goes down.
Thanks,
Ken McCord
------------------------------
From: Bernd Eckenfels <[EMAIL PROTECTED]>
Subject: Re: Linux as a firewall
Date: 10 Sep 1999 19:14:38 GMT
Stefano Rivoir <[EMAIL PROTECTED]> wrote:
> I need to setup Linux to act as a firewall for a LAN versus other connected
> LAN. I have many doubts about kernel to use (now 2.0.36, Debian 2.1),
> ipchains, ipfwadmin and so on. Can anybody tell me where to find possibly
> exhaustive documentation about firewalling?
www.freefire.org
Greetings
Bernd
------------------------------
From: Sascha Edelburg <[EMAIL PROTECTED]>
Subject: SIOCSIFFLAGS: resource temporarily unavailable !?!
Date: Fri, 10 Sep 1999 21:24:04 +0200
Hello Freaks !
I've got a problem with my little network:
my "network" consists of only 2 comps (ethernet):
On one of the hosts I get a message as follows:
-> SIOCSIFFLAGS: resource temporarily unavailable.
Then the execution of "route" fails.
- both of them use NE2000-comp./10Mbit-Cards which are correctly
detected
- network-Kernelconfiguration are identical
- using SuSE 6.1 Distr.
thanks for your interest...
networking is great...if it works ! ;-)
------------------------------
Subject: Re: ICQ server on Linux
From: [EMAIL PROTECTED] (Duncan Simpson)
Date: 10 Sep 1999 23:06:28 GMT
In <[EMAIL PROTECTED]> Jim Thomas <[EMAIL PROTECTED]> writes:
>midknite wrote:
<stuff snipped>
>I don't know if it still works or not since Microsoft hacked AOL. Does
>anyone know the details of that? Didn't AOL buy ICQ? Is ICQ=Instant
>Messenger? When AOL shut M$ out of IM, did they also shut out licq?
>Maybe I should just try it an see. Maybe I don't know what I'm talking
>about.
Assuming the reports that AOL exploited a buffer over run bug in their
client to lock out the M$ clients, which had been fixed, licq will not
work either unless it has a buffer over run bug that works with the
AOL exploit code. M$ clients now recognise the exploit packets and
respond appropiately I hear.
This is thought to be the first instance of anyone actively exploiting
a buffer overrun in their own software. Let us hope it is also the last.
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."
------------------------------
From: [EMAIL PROTECTED] (Jeremy Allison)
Crossposted-To: comp.protocols.nfs,linux.debian.user,uk.comp.os.linux
Subject: Re: NFS problems under linux yet again
Date: 10 Sep 1999 15:37:51 GMT
Norman Elliott <[EMAIL PROTECTED]> writes:
>Monte Phillips wrote:
>> Pat, You might want to try this question on comp.protocols.smb
>> Jeremy Allison of the samba team monitors this and might just have an
>> answer, maybe not. BTW are you running samba .5a if not, upgrade
>> all of the 2.0's are buggy.
>>
>Samba is only for Microsoft products.
>best wishes,
And I would also dispute that "all the 2.0's are
buggy" :-) :-).
Regards,
Jeremy Allison,
Samba Team.
------------------------------
From: Andy Halper <[EMAIL PROTECTED]>
Subject: need help w/ dhcpcd & Cisco 675
Date: Fri, 10 Sep 1999 18:48:12 GMT
I'm trying to get DHCP working between a Red Hat 6.0 box w/ 3Com 3c900B
and a Cisco 675 DSL modem. From the monitor light behavior, I think the
Cisco 675 is operating in bridged mode, although I haven't been able to
login to the command port to verify yet. The PWR, LAN, and WAN lights
are all stable. There appears to be periodic activity on the ACT light.
The daemon startup scripts cause some activity on the WAN and LAN link
lights, but timeout after one minute and fail.
The most informative error messages I've been able to find thus far are
things like:
Sep 9 21:27:03 localhost dhcpcd[664]: timed out waiting for a valid
DHCP server response
Sep 9 21:32:28 localhost dhcpcd[676]: timed out waiting for a valid
DHCP server response
Sep 9 21:34:09 localhost dhcpcd[679]: timed out waiting for a valid
DHCP server response
in /var/log/messages when I try to start dhcpcd manually.
Any help is greatly appreciated.
Also, could someone point me to the most appropriate HOWTO for using
minicom to login to the command port of the Cisco 675 over a serial
connection? Should I be using the Serial-HOWTO or something else?
Thanks,
Andy Halper
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: accessing SAMBA from Network Neighborhood - help!
Date: Fri, 10 Sep 1999 15:05:26 GMT
You may also want to try setting your security option in the smb.conf
file to:
secruity = share
this should stop WinX asking for a password.
"Kelvin ngo" <[EMAIL PROTECTED]> wrote:
> Check the smb man page it tell you how to disable the ecrypted
password on
> windows machine by
> the registry..
> Kelvin Ngo
> Dan G. <[EMAIL PROTECTED]> wrote in message
> news:uKwU7A0##GA.171@cpmsnbbsa03...
> > I set up SAMBA and it appears to be working fine. I can mount my
shared
> > drives on the linux machine and see the Windows machine fine. The
problem
> is
> > the other way 'round. I can see "linux1" (the name of my linux
machine) in
> > network neighborhood, but when I try and access it, it wants a
password.
> To
> > the best of my knowledge, I did not setup any passwords to access
it! Just
> > in case, I tried all the passwords I have entered onto the linux
machine -
> > none of them work.
> >
> > how can I disable the password feature in SAMBA. Or if I can't how
do I
> set
> > up encrypted passwords, and then set the password to NULL or
something?
> > Thanks very much for your help.
> >
> >
> > -Dan G.
> >
> >
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: QuestionExchange <[EMAIL PROTECTED]>
Subject: Re: 2 NICS on the same machine
Date: 10 Sep 1999 20:27:15 GMT
> I have some problems configuring a PC as firewall/router. I
have a ADSL
> internet connection which I want to pipe to my other PC (p200
running
> Win98/Linux).
>
> Facts:
> On my router-to-be, I have RedHat 6.0 installed - no X -
customized with
> minimal apps to do what I want.
> PC: 486-dx2-66 VLB - 400 Meg HD, 16 Ram
> NICs : 2 DLink DE220t
>
> My problems resides in the NIC detection and configuration.
> Iniatial config of the cards have been done in accordance
with the
> supplier specs ie I have used the DOS software supplied with
the driver
> to configure both cards and make sure that they have been PNP
disabled
> and set to different I/O adress and IRQ.
>
> Problem:
> At first boot, eth0 was detected which was the IO300 IRQ10
NIC.
> So I launched linuxconf to configure the second card (eth1)
as IO 320
> and IRQ5. Next, I logged off and rebooted the machine to
ensure that the
> new setting would take place.
> At the second boot where ethx are loaded, eth0 successfully
installed
> but not eth1.
> On top of that, eth0 has connected itself to IO 320 - IRQ
which was
> supposed to be IO 300 - IRQ !!!
>
> How come ?
>
> Is it possible that linux does not allow having two NIC of
same
> brand/model ?
> OR
> Is there any specific setting that has to be done in order to
ensure
> that the two card are treated seperately at installation time
even
> though they use the same driver ?
>
> Thanks
>
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
>
By default, kernel tries to recognise only the first NIC.
If you have more NICs, you must tell the kernel.
Add needed line in your /etc/lilo.conf:
The common format is (for two NICs):
append="ether=IRQ0,I/O addr0,eth0 ether=IRQ1,I/O addr1,eth1"
Replace IRQ and I/O with your real values, or set them to 0
for autoprobing:
append="ether=0,0,eth0 ether=0,0,eth1"
--
This answer is courtesy of QuestionExchange.com
http://www.questionexchange.com/servlet1/showUsenetGuest?ans_id=3203&cus_id=USENET&qtn_id=2966
------------------------------
From: [EMAIL PROTECTED]
Subject: Network stalls...
Date: Fri, 10 Sep 1999 16:42:22 +0200
I have a rather irritating problem with my network. Whenever I try to
download anything larger than, say a 100kb the network stalls. I have
configured my D-Link 530TF ethernet card as eth0, using Redhat's
netconf, and I get an IP from the DHCP server just as I am supposed to,
and everything seems to work fine. Except of course that the network
stalls. I have compiled a new kernel (2.2.11) so I don't think the
problem is an old driver (the D-Link card works fine with the VIA-Rhine
driver).
I have included a couple of network configuration files.
[/etc/sysconfig/network]
NETWORKING=yes
FORWARD_IPV4="no"
HOSTNAME="localhost.localdomain"
GATEWAY=""
GATEWAYDEV=""
[/etc/sysconfig/network-scripts/ifcfg-eth0]
DEVICE="eth0"
IPADDR="192.38.218.29"
NETMASK="255.255.254.0"
ONBOOT="yes"
BOOTPROTO="dhcp"
BROADCAST="192.38.218.255"
The network connection works perfect in Win95, and I have entered the
same adresses for the different servers (DNS, Proxy, Socks, etc.) as
windows use, so it really should work, but it just doesn't.
I really hope some of you can give me some help
------------------------------
From: QuestionExchange <[EMAIL PROTECTED]>
Subject: Re: Redhat 6.0 & PPP Question
Date: 10 Sep 1999 20:27:26 GMT
> Hello all, especially those with answers!
>
> I'm running Redhat 6.0 on Intel, and I've managed to get a
PPP connection
> (apparently) going using pppd and a chatscript. Phew!
>
> However, once I have a connection that looks good (my system
log ends with
> "Connect: ppp0 <--> /dev/ttyS0") and try it with Netscape, I
find I can't go
> anywhere today. (Sorry for the Micro$oft allusion!)
>
> Trying ping to my remote host works, generally in about 300
msecs (some
> going to 12000 or more msecs).
>
> Going back to my system log, I consistently find several
entries 5 secs
> after the "Connect: ppp0 <--> /dev/ttyS0" that go like this:
>
> modprobe: can't locate module ppp-compress-21
> modprobe: can't locate module ppp-compress-26
> modprobe: can't locate module ppp-compress-24
>
> On some occasions they repeat three or four times in the same
sequence.
>
> Anyone familiar with this problem? Any ideas?
>
> Incidently, I'm using a CNet external V.90 modem, and I don't
have much of a
> init string on it...right now just AT&F&K3 (although I also
tried simply
> ATZ).
>
> Regards to all (and again, especially the ones who can help
me!!),
> Rob Martin
>
>
>
>
>
>
The messages in syslog are not related to your problem.
They mean the pppd is trying to negotiate a compression, but
compression modules are not loaded. So, before starting the
pppd,
load modules:
insmod bsd_comp
insmod ppp_deflate
But this will just improve your speed, and is optional.
Since you can ping the other site, but everything else is
unreachable, most probably you didn't supply the "defaultroute"
option to the pppd.
Check with "route -n" if you have proper default route,
and if not, restart pppd with option "defaultroute" (you
can add it in file /etc/ppp/options).
--
This answer is courtesy of QuestionExchange.com
http://www.questionexchange.com/servlet1/showUsenetGuest?ans_id=3205&cus_id=USENET&qtn_id=2975
------------------------------
From: QuestionExchange <[EMAIL PROTECTED]>
Subject: Re: second ethernet-card ?
Date: 10 Sep 1999 20:27:41 GMT
> se help !
> how can i set up a second ethernet-card under linux. i am
using red hat linux 5.2
> at the moment only one card has benn detected automatically ?
> thank you
> sebastian.koball(at)stud.uni-rostock.de
>
>
>
By default, kernel tries to recognise only the first card.
So, add this line in /etc/lilo.conf:
append="ether=0,0,eth0 ether=0,0,eth1"
Thus, the kernel will try to recognise two cards by
autoprobing.
The common format is:
append="ether=IRQ,I/O,eth0 ether=IRQ,I/O,eth1 ...
ether=IRQ,I/O,ethn"
--
This answer is courtesy of QuestionExchange.com
http://www.questionexchange.com/servlet1/showUsenetGuest?ans_id=3206&cus_id=USENET&qtn_id=2976
------------------------------
From: QuestionExchange <[EMAIL PROTECTED]>
Subject: Re: replacing the routing table with ipchains?
Date: 10 Sep 1999 20:28:12 GMT
You can't change routing table with ipchains.
If you want to make routing based on SRC addresses, you need
"iproute" package.
You can get it from ftp://ftp.inr.ac.ru/ip-routing/
> Hello!
>
> I'am wondering if it is possible to replace the routing table
with ipchains
> commands?.
>
> an example:
>
> my computer have 2 NIC's.
>
> 192.168.10.1 (eth1) -----| MY COMPUTA| --- (eth0)
192.168.11.1
>
> I want to enable routing between the two diffrent networks
but without using
> the route command.
>
>
> the normal routing table will look something like this:
>
> Kernel IP routing table
>
> Destination Gateway Genmask Flags Metric
Ref Use
> Iface
> 192.168.10.1 0.0.0.0 255.255.255.255 UH 0
0 0 eth1
> 192.168.10.0 0.0.0.0 255.255.255.0 U 0
0 0 eth1
> 192.168.11.1 0.0.0.0 255.255.255.255 UH 0
0 0 eth0
> 192.168.11.0 0.0.0.0 255.255.255.0 U 0
0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0
0 0 lo
> 0.0.0.0 192.168.10.26 0.0.0.0 UG 1
0 0 eth1
>
>
> The big question is now: Can I skip the route command and use
ipchains to
> build up the routing table instead??, and how whold those
ipchans commands
> look like?
>
> you may wonder why I want to do this?, the reson is beacause
I desperatly
> needs a special routing command that can have source address
as parameter
> when making the routing dessision.
>
> an example:
>
> On my network I have 2 default gatways.
>
> I want all trafic that comes from 192.168.65.0 to be routed
to default
> gatway1. and I want all trafic that comes from 192.168.66.0
to be routed to
> default gateway2.
>
> you can't solve this problem (with source address matching)
with the normal
> route command (because the routing command does not care
about where the
> packets are FROM, it justs care about where the packages are
going TO). that
> why I'm thinking about building up the routing table with
ipchains (that
> care where the packets are from).
>
> maybe there is another solution on this problem???.
>
> I would be very thankful if someone could help me.
>
> Cheers from
> /Henrik
>
>
>
>
>
>
>
>
>
>
>
>
>
--
This answer is courtesy of QuestionExchange.com
http://www.questionexchange.com/servlet1/showUsenetGuest?ans_id=3210&cus_id=USENET&qtn_id=2989
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: cable modem gateway server
Date: Fri, 10 Sep 1999 19:14:36 GMT
You've done everything good sofar.............now tell your server to
let through your machine's on the inside to talk to the outside
if u have a "old" kernel (like redhat 5.2 kernel 2.0.36)
u use ipfwadm........just tell ipfwadm what he has to let through...
i use this one to give all my 5 machines access
>ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
Before i forget, in your network configuration file ( etc/sysconfig)
there is a file called "network"
this is what should be in it:
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=your linux box
DOMAINNAME=your provider
GATEWAY=216.207.125.14
GATEWAYDEV=eth0
if u done that..........it should work
(at least with me it does ;-))))
Greetings earthling,
Theo
On Thu, 9 Sep 1999 23:43:02 -0500, "Scott Collins"
<[EMAIL PROTECTED]> wrote:
>We have a Linux box connected to a cable modem through network card eth0,
>and connected to our internal network eth1. We are trying to get the
>computers on the internal network to access the internet through the Linux
>box. All computers on the network including the Linux Box can see each
>other, but the Linux box is the only one that can see the out side world.
>We have tried so many configuration that we are totally confused on the what
>the correct setup is. Here is the info we have.
>
>Here is our IP address: 216.207.125.14
>The gateway given to us by the ISP is: 216.207.127.1
>The internal IP we are using for the Linux Box is: 192.168.0.1
>
>What should the ifcfg-eth0 and ifcfg-eth1 files look like?
>Any other hint that you could give would be appreciated as well.
>
>
>Here is our biggest question?
> eth0
>DEVICE=eth0
>IPADDR=216.207.125.14
>NETMASK=255.255.255.0
>NETWORK=??????
>BROADCAST=?????
>GATEWAY=?????
>ONBOOT=yes
>
>
> eth1
>DEVICE=eth1
>IPADDR=192.168.0.1
>NETMASK=255.255.255.0
>NETWORK=???????
>BROADCAST=??????
>GATEWAY=???????
>ONBOOT=yes
>
>Please help fill in the question marks and add any numbers if needed.
>
>
------------------------------
From: [EMAIL PROTECTED] (Derek Sivers)
Subject: SAMBA into Windows? Or make Windows comform to Linux?
Date: Fri, 10 Sep 1999 20:17:29 GMT
Reply-To: [EMAIL PROTECTED]
Wanna start an INTRANET newbie on the right foot?
I'm trying to figure out whether to learn SAMBA on my Linux machine,
to tie it into an existing Windows Networking system.. OR... make the
Windows networking system adapt to Linux.
We've got 3 Windows machines networked together in a tiny office here.
Everything works, but I'm converting all of our databases and
therefore our whole way of doing things...
All databases are being switched to Linux MySQL with all the
administration and daily activities being done thru a web browser.
The last step: set up a dedicated Linux machine here to be the
"database server" 24 hours a day, and have the Windows machines (or
Mac, or BeOS, or whatever...) - access the Linux machine thru an
intranet web browser.
Everything has an Ethernet card. 5-port hub.
So - what do you recommend? Will I need SAMBA either way? Or skip
SAMBA and do something to the Windows network to make it recognize the
Linux machine?
Even just pointing me to the right "Read Me" or manual would help a
lot.
THANKS!!
Derek Sivers
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Server Side Includes in Apache
Date: Fri, 10 Sep 1999 15:06:27 GMT
Dear Linuxi,
Having recently installed a banner ad server (honest, it wasn't my
decision, it was the boss) script on our web server. It is an SSI
script, you know:
<!--#exec cmd="ad_script.pl"-->
I decided (once I got it functional) that it would be a good idea to
put it in my "header.inc" include file that runs on the top of all my
web pages.
Unfortunately, the "include within an include" is returning just the
plain text of the inclue. In other words, istead of executing my
script, it's just printing (in the html source):
<!--#exec cmd="script.pl"-->
...which looks vaguely familiar. Can apache do nested includes? If
anyone can help or point my to the appropriate FAQ/DOC/HOWTO I would
greatly appreciate it.
Thank in advance,
Thomas Brian Holdren
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
** 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
******************************