Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #237097

Re: 2 NIC's

From David <david@lh-heath.co.uk>
Newsgroups linux.debian.user
Subject Re: 2 NIC's
Date 2021-07-09 12:10 +0200
Message-ID <CyVCh-2f9-1@gated-at.bofh.it> (permalink)
References (3 earlier) <CxxC1-q2-1@gated-at.bofh.it> <CxxVn-wr-1@gated-at.bofh.it> <CxMrn-19g-3@gated-at.bofh.it> <CxR7I-3Vf-3@gated-at.bofh.it> <CxRhn-3Yr-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Thank you for the information supplied.

I have a confession to make, eth0 & eth1 changed place when I
configured eth1.

The 2 NICs (and Debian) are working correctly, now to get the proxy
server to work as I want.

regards,

David.

On Tue, 2021-07-06 at 07:18 -0400, Greg Wooledge wrote:
> On Tue, Jul 06, 2021 at 02:04:09PM +0300, Andrei POPESCU wrote:
> > On Ma, 06 iul 21, 07:03:38, David wrote:
> > > The first question from Jeremy, the value of
> > > /proc/sys/net/ipv4/ip_forward is 0, connecting to the thin client
> > > via
> > > putty and using nano as an editor, it tells me I can't alter this
> > > value, I am logged in as root.
> > 
> > Because it's a special file and anyway, changing the value
> > wouldn't 
> > persist across reboots.
> 
> Expanding on this, /proc and /sys are special pseudo-file systems
> which present kernel interfaces as "files".  You can read most of
> them and write to some of them, but you cannot "edit" them.
> 
> If you want to change the value of ip_forward, you need to open that
> file and write the new value to it.  Usually this is done with a
> shell
> running as root:
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> As Andrei mentioned, this is a temporary change, which won't persist
> across reboot.  To make this change "permanent", you also need to
> edit
> the /etc/sysctl.conf file (which is a real file).  There's probably
> a section that looks like this:
> 
> # Uncomment the next line to enable packet forwarding for IPv4
> #net.ipv4.ip_forward=1
> 
> That's the section you're looking for.  If yours doesn't have this
> section, then you'll just have to add the appropriate line yourself.
> 

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: 2 NIC's Jeremy Ardley <jeremy@ardley.org> - 2021-07-05 13:40 +0200
  Re: 2 NIC's <tomas@tuxteam.de> - 2021-07-05 14:00 +0200
    Re: 2 NIC's Jeremy Ardley <jeremy@ardley.org> - 2021-07-05 14:20 +0200
    Re: 2 NIC's Greg Wooledge <greg@wooledge.org> - 2021-07-05 15:10 +0200
    Re: 2 NIC's Nicolas George <george@nsup.org> - 2021-07-05 16:20 +0200
      Re: 2 NIC's <tomas@tuxteam.de> - 2021-07-05 16:40 +0200
        Re: 2 NIC's Andrei POPESCU <andreimpopescu@gmail.com> - 2021-07-06 13:10 +0200
          Re: 2 NIC's Greg Wooledge <greg@wooledge.org> - 2021-07-06 13:20 +0200
            Re: 2 NIC's David <david@lh-heath.co.uk> - 2021-07-09 12:10 +0200
              Re: 2 NIC's "Andrew M.A. Cater" <amacater@einval.com> - 2021-07-09 14:40 +0200
                Re: 2 NIC's Tixy <tixy@yxit.co.uk> - 2021-07-09 15:00 +0200

csiph-web