REQ: HELP W/ IP ALIASING

2001-01-17 Thread melik bessaha

Hello,

I am attempting to alias my one physical NIC in my netfinity server.  I
am using IPFILTER and IPNAT to do this with a static IP on a cable
subscription. I am trying to port the connection to one machine in the
internal network.  Can someone please paste in their rc.conf, ipf.conf,
and ipnat.conf so that i can copy info.  I cant seem to get things to
work properly.  I can ping on the server to an outside address, but my
subnet machine cant ping out or anything.

The IP strucutre is as follows:  NIC ip - 24.228.40.14, alias host -
192.168.1.0 (the internal gateway), and 192.168.1..10(the second
machine)

what should the ifconfig command look like in rc.conf with this info?
also, to redirect in ipnat, would the command look like this:   map fxp0
192.168.1.0/24 -> 24.228.40.14/32 portmap tcp:udp  1:6
   map fxp0 192.168.1.0/24 -> 24.228.40.14/32

is this right??  if 192.168.1.0 will act as my gateway for my second
machine, what should be the host of the machine?  im a bit confused with
how aliasing works.  ifconfig should look something like this:

ifconfig fxp0 alias inet 192.168.1.0/24
route alias -host 192.168.1.0 127.0.0.1 0

is this correct?  Thanks to anyone who helps...im really bad at this and
want to learn.


Many thanks,
Mel



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: HEADSUP! New netgraph code coming

2001-01-17 Thread Dag-Erling Smorgrav

Alfred Perlstein <[EMAIL PROTECTED]> writes:
> This ought to be documented.

A good start would be to add example of MODULE_VERSION and
MODULE_DEPEND usage to one of the templates in
/usr/share/examples/kld/.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: How to send mail on behave of other domains.

2001-01-17 Thread Mick Nicila

Dear Chutima,

   The option to accept or reject mails that have mismatch domains belongs 
to the remote mail server.  Some sites set default to reject for spam 
blocking. What you can do is to contact the
postmaster of those sites.
   For example, I heard that some free e-mail providers such as GMX rejects 
mail from aol.com or hotmail.com unless it comes from mail servers of those 
domains. However, they also allow users to turn on or off this option as 
they wish.




On Tue, 16 Jan 2001, Chutima S. wrote:

>Hi
>
>I setup mail server for our office users send mail to Internet with domain
>name YYY.net.  But there are some users register their own domain name
>XXX.net.  They want to send mail out from our mail server.  Most of their
>mail is OK but there are some mail servers out there reject some mails
>from them.  Because domain name at Sender field([EMAIL PROTECTED]) and 
>Host(mail.YYY.net)
>is mismatch.  How do I config my sendmail.cf for them can use for send
>mail out?
>
>Thks
>Chutima S.
>
>--
>Chutima Subsirin
>[EMAIL PROTECTED] - email
>(202) 777-2641 ext. 6020 - voicemail/fax
>
>
>
>___
>To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
>all in one place - sign up today at http://www.zdnetonebox.com
>
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-net" in the body of the message
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Redundant connections from separate isp's possible?

2001-01-17 Thread Peter Brezny

We're a small web hosting company wanting to have multiple routes from
separate isp's coming into the webservers from the outside so that if one
connection goes down, the other connection can still reach the servers.

Can this be done?  Is this possible with freebsd as the router?  Are there
better options from cisco et. al.?

I searched the -net mail list archives and found a lot about load balancing
multiple servers so one didn't get overloaded, but that's not our problem.
We want multiple load balanced connections from the internet into the same
server/network.

Can this be done with separate isp's? or am I asking for trouble?  we
currently have a single t1 and are looking at a 2.5 mbit DSL line to
augment/backup the t1.  of course a different provider means a different
network range allocated to us.  And here is where things get fuzzy for me.
What do i tell internic?...ns1 -->network range 1, ns2 -->network range 2
and have the name server hold an IP from each isp's network range?

Thanks for your comments/suggestions.

Peter Brezny
SysAdmin Services Inc.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



RE: Redundant connections from separate isp's possible?

2001-01-17 Thread Drew J. Weaver
Title: RE: Redundant connections from separate isp's possible?





    I believe what you're talking about is refered to as BGP or Sonnet routing, but i'm not sure, I know it is possible because we have 5 or 6 backbone providers on our Network.

-Drew



-Original Message-
From: Peter Brezny [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 12:52 PM
To: [EMAIL PROTECTED]
Subject: Redundant connections from separate isp's possible?



We're a small web hosting company wanting to have multiple routes from
separate isp's coming into the webservers from the outside so that if one
connection goes down, the other connection can still reach the servers.


Can this be done?  Is this possible with freebsd as the router?  Are there
better options from cisco et. al.?


I searched the -net mail list archives and found a lot about load balancing
multiple servers so one didn't get overloaded, but that's not our problem.
We want multiple load balanced connections from the internet into the same
server/network.


Can this be done with separate isp's? or am I asking for trouble?  we
currently have a single t1 and are looking at a 2.5 mbit DSL line to
augment/backup the t1.  of course a different provider means a different
network range allocated to us.  And here is where things get fuzzy for me.
What do i tell internic?...ns1 -->network range 1, ns2 -->network range 2
and have the name server hold an IP from each isp's network range?


Thanks for your comments/suggestions.


Peter Brezny
SysAdmin Services Inc.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message





Re: Redundant connections from separate isp's possible?

2001-01-17 Thread Mark Lastdrager

At Wed, 17 Jan 2001, [EMAIL PROTECTED] wrote:

>We're a small web hosting company wanting to have multiple routes from
>separate isp's coming into the webservers from the outside so that if one
>connection goes down, the other connection can still reach the servers.
>
>Can this be done?  Is this possible with freebsd as the router?  Are there
>better options from cisco et. al.?
>
>I searched the -net mail list archives and found a lot about load balancing
>multiple servers so one didn't get overloaded, but that's not our problem.
>We want multiple load balanced connections from the internet into the same
>server/network.
>
>Can this be done with separate isp's? or am I asking for trouble?  we
>currently have a single t1 and are looking at a 2.5 mbit DSL line to
>augment/backup the t1.  of course a different provider means a different
>network range allocated to us.  And here is where things get fuzzy for me.
>What do i tell internic?...ns1 -->network range 1, ns2 -->network range 2
>and have the name server hold an IP from each isp's network range?

You'll need at least two ISP's, your own IP addresses, an ASN and lots of
clue ;-) See http://www.netaxs.com/~freedman/bgp/bgp.html for more info
about BGP4.  This can be done using FreeBSD and zebra
(/usr/ports/net/zebra).

Mark Lastdrager

--
Pine Internet BV ::  tel. +31-70-3111010 ::  fax. +31-70-3111011
PGP 92BB81D1 fingerprint 0059 7D7B C02B 38D2 A853 2785 8C87 3AF1
Today's excuse: Domain controler not responding





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Redundant connections from separate isp's possible?

2001-01-17 Thread Nick Rogness

On Wed, 17 Jan 2001, Peter Brezny wrote:

> We're a small web hosting company wanting to have multiple routes from
> separate isp's coming into the webservers from the outside so that if one
> connection goes down, the other connection can still reach the servers.
> 
> Can this be done?  Is this possible with freebsd as the router?  Are there
> better options from cisco et. al.?
> 
> I searched the -net mail list archives and found a lot about load balancing
> multiple servers so one didn't get overloaded, but that's not our problem.
> We want multiple load balanced connections from the internet into the same
> server/network.
> 
> Can this be done with separate isp's? or am I asking for trouble?  we
> currently have a single t1 and are looking at a 2.5 mbit DSL line to
> augment/backup the t1.  of course a different provider means a different
> network range allocated to us.  And here is where things get fuzzy for me.
> What do i tell internic?...ns1 -->network range 1, ns2 -->network range 2
> and have the name server hold an IP from each isp's network range?
> 
> Thanks for your comments/suggestions.
> 
> Peter Brezny
> SysAdmin Services Inc.
> 

What you need to use is BGP (Border Gateway Protcol) which is a
routing protocol used on the Internet Backbone.  It is used to
handle routing across different autonomous systems (AS).  I do not
recommend using FreebSD to do this, but it can using either gated
or another routing daemon.

You do not need to do anything with internic regarding your IP
space.  However, using BGP is not an easy task and requires a lot
of work with your upstream providers.  It is one of those things
that if you screw up, the rest of the internet suffers (Which has
happened before).

For a reference ,check out "Internet Routing Architectures" by
Halabi.  It is a great book and is pretty much the BIBLE when
talking about BGP.

Nick Rogness
- Drive defensively.  Buy a tank.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: HEADSUP! New netgraph code coming

2001-01-17 Thread Alfred Perlstein

* Dag-Erling Smorgrav <[EMAIL PROTECTED]> [010117 04:27] wrote:
> Alfred Perlstein <[EMAIL PROTECTED]> writes:
> > This ought to be documented.
> 
> A good start would be to add example of MODULE_VERSION and
> MODULE_DEPEND usage to one of the templates in
> /usr/share/examples/kld/.

Since I have no clue as to how they work, it'll have to wait until
someone who knows how it works does it or I have the time to UTSL.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: HEADSUP! New netgraph code coming

2001-01-17 Thread Dag-Erling Smorgrav

Alfred Perlstein <[EMAIL PROTECTED]> writes:
> Since I have no clue as to how they work, it'll have to wait until
> someone who knows how it works does it or I have the time to UTSL.

MODULE_VERSION(module, version);

module is the name of your module.
version is the integer version number of your module.

MODULE_DEPEND(module, mdepend, vmin, vpref, vmax);

mdpepend is the name of the module your module depends on.
vmin, vpref, vmac are the minimum, maximum and preferred versions of
the module your module depends on.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



I have found an error in pccard_ether and I think I solved it.

2001-01-17 Thread Braulio José Solano Rojas


Hello!

I have FreeBSD 4.1 release.  My computer is a laptop, so I use
pccards. I found that with /stand/sysinstall the lan can be configured
automatically, but for pccards it doesn't work.  So, after a debugging of
the scripts (just because I like automation and ease of use) I found a
mistake in /etc/pccard_ether.  I have changed the line 43 and added a new
line before, so that line 43 is now line 44.

This is the line 43 (the new line 44) after my changes:   '  ifconfig ${interface} 
${configuration} $*  '

And this is the line I added before the line 43 (the new line 43):  '  eval 
configuration=\$ifconfig_${interface}  '

I don't now if this problem has been solved before sending this email,
but my hope is that I can help.  Please, forgive my english.

Sincerely yours,

Braulio Jose Solano




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



nfs server not responding - is alive again

2001-01-17 Thread Nicole


Hi
 Could anyone tell me please why I would receive these messages and what I can
do to help avoid them?
 The servers are not that busy and the NFS connection is on a private 10.0
interconnect between the servers, yet I still get these now and again.


Thanks!


  Nicole


> nfs server c1.pic.com:/home/web/WWW: not responding
> nfs server c1.pic.com:/home/web/WWW: is alive again
> nfs server c1.pic.com:/home/web/WWW: not responding
> nfs server c1.pic.com:/home/web/WWW: is alive again
> nfs server c1.pic.com:/home/web/WWW: not responding
> nfs server c1.pic.com:/home/web/WWW: is alive again
> nfs server c1.pic.com:/home/web/WWW: not responding
> nfs server c1.pic.com:/home/web/WWW: is alive again




 [EMAIL PROTECTED] |\ __ /|   (`\   http://www.unixgirl.com/
 [EMAIL PROTECTED] | o_o  |__  ) )  http://www.dangermouse.org/
 [EMAIL PROTECTED]   //  \\http://www.deviantimages.com/ 
 
---(((---(((
 
  --  Powered by Coka-Cola and FreeBSD  --
  -- I don't speak for anybody but myself - that's enough trouble --
--  Back Up My Hard Drive? I Can't Find The Reverse Switch! --

-
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: nfs server not responding - is alive again

2001-01-17 Thread Alfred Perlstein

* Nicole <[EMAIL PROTECTED]> [010117 12:25] wrote:
> 
> Hi
>  Could anyone tell me please why I would receive these messages and what I can
> do to help avoid them?
>  The servers are not that busy and the NFS connection is on a private 10.0
> interconnect between the servers, yet I still get these now and again.

NFS sometimes gets a bit picky about the time to return a response,
don't worry about it unless you're experiencing hangs or other
problems.  It's just telling you that there's a fraction of second of
lag happening.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



SysKonnect full-duplex problems

2001-01-17 Thread Chris Snell

Hi,

We're having problems getting our SysKonnect cards to function in 
full-duplex mode under FreeBSD on our gigabit ethernet environment.  The 
switch port, on an Extreme Networks 7i, is set to auto-negotiate at 
1000Mbit.  Here's the problem:  If we boot the systems up without any media 
options set, ifconfig reports them as running at 1000Mbit in half-duplex 
mode and the switch reports them to be in full-duplex mode.  Nevertheless, 
they *do* function this way, though performance is less than 
expected.  However, if we instruct ifconfig to configure them in 
full-duplex mode, they do not function at all.   When the cards are set in 
full-duplex, we don't even get a link light and the switch does not 
register a link, either.  Does anyone have any ideas?

Here's our setup:

FreeBSD 4.2-STABLE, kernel-land is tracking -STABLE up to 2:00pm EST 
today.  user-land is at 4.2-STABLE release.

skc0:  port 0x2800-0x28ff mem 
0xf400-0xf4003fff irq 16 at device 16.0 on pci0
skc0: SysKonnect SK-NET Gigabit Ethernet Adapter SK-9843 SX
sk0:  on skc0
sk0: Ethernet address: 00:00:5a:99:53:80

CPU: Pentium III/Pentium III Xeon/Celeron (796.54-MHz 686-class CPU)

Extreme Summit 7i firmware info:
Image  :  Extremeware Version 6.1.5 (Build 20)  by Release_Master  Sat 
09/23/2000  6:56p

thanks in advance,

Chris



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Bridging-Firewall/bandwith limit problem

2001-01-17 Thread Luigi Rizzo

> We had exactly the same problem with 4.1-STABLE or 4.0-STABLE (don't
> remember) a while ago. A 'downgrade' to 3.4-RELEASE fixed it, 3.4-STABLE
> had the same problem.
> 
> Not much of a solution, but it may be helpful for the developers.

again i have not been able to reproduce the problem, but
i have just committed some code to RELENG_4 to at least
detect, log and obviate to the stalls.
I'd be grateful if you could give a try to the new code.

cheers
luigi


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Multiple ISP's for outgoing. (or the opposite of P. Brezny's ?)

2001-01-17 Thread John Telford

Is there a way to do the opposite of Peter Brezny's question "Redundant
connections from separate isp's possible?" He had muliple  incoming
connections to his Web servers.
I have 2 ISP's but almost all of my traffic is from the inside out, employee
browsing, ftp downloads. Can (should?) I use a Freebsd box to balance/route
the traffic through the 2 connections ? How difficult would it be to setup ?

Thanks in advance.
John Telford.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message