Re: Routing With Two ISPs?

From: Helge Oldach (helge.oldach_at_atosorigin.com)
Date: 11/07/03

  • Next message: Juan Rodriguez Hervella: "Information about IPv6 Path MTU discovery implementation"
    To: drew@mykitchentable.net (Drew Tomlinson)
    Date: Fri, 7 Nov 2003 08:59:38 +0100 (MET)
    
    

    Drew Tomlinson:
    >I have a 4.8 box serving as a gateway with two connections to the
    >Internet. Is there some way to set the box up so that packets are
    >routed out through the same interface from which they arrived? For
    >example, if a connection is initiated on port 80 from a packet arriving
    >on one interface, is there a way to make the outgoing packets from my
    >web server use that same interface as a gateway instead of the default
    >interface?

    Unfortunately not. While your application (multi-homing, aka "strong ES"
    model of RFC 1122) would appear simpler, a general solution would target
    at true policy-based routing.

    The latest information I have seen is
    http://www.mail-archive.com/freebsd-net@freebsd.org/msg07737.html.

    Helge
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Juan Rodriguez Hervella: "Information about IPv6 Path MTU discovery implementation"

    Relevant Pages

    • Re: VLAN problems
      ... Where these 2 systems connected to the same switch port and cabling? ... The new gateway have only one gigabit ethernet interface connected to ... input packets with dribble condition detected ...
      (freebsd-net)
    • problems with clients behind ipf/ipnat firewall
      ... While everything from my gateway box is fine. ... 10 packets transmitted, 10 packets received, 0% packet loss ... # rules for the external fxp0 interface ... pass out quick on fxp0 proto tcp from any to any flags S keep state ...
      (FreeBSD-Security)
    • Re: esp tunnel without gif(4) [Was Re: vpn1/fw1 NG toipsec/racoontroubles, help please ...]
      ... Anyway building firewall rules to the IPSec connection configured without gif interface is also possible. ... Packets goes via ipfw 2 times: first encoded, in normal IPv4 form, second time encapsulated in EPS frames. ... I don't know if it works the same whet sysctl's fw_onepass is set to 1 (on my gateway is set to 0) but filtering packets before they passed to the IPSec tunnel is possible and it works without gif's. ... On gateway it's posiible to sniff on "clear" interface and compare it with ESP traffic on "encrypted" interface. ...
      (FreeBSD-Security)
    • Re: Routing With Two ISPs?
      ... >>I have a 4.8 box serving as a gateway with two connections to the ... Is there some way to set the box up so that packets are ... >>on one interface, is there a way to make the outgoing packets from my ... >>web server use that same interface as a gateway instead of the default ...
      (freebsd-net)
    • Re: Routing With Two ISPs?
      ... > I have a 4.8 box serving as a gateway with two connections to the ... if a connection is initiated on port 80 from a packet arriving ... > on one interface, is there a way to make the outgoing packets from my ... > web server use that same interface as a gateway instead of the default ...
      (freebsd-net)