Displaying 20 results from an estimated 71 matches for "enp2s0".
Did you mean:
enp2s5
2016 Aug 08
6
Gateway question
Hi
There is a Centos 7 up-to-date box with 2 interfaces, let's say
192.168.1.12 - enp2s0, 192.168.1.13 on enp3s0. Default gateway on enp2s0.
The gateway is pfsense, IP is 192.168.1.1 with 2 WAN connections
On the gateway the outgoing traffic is routed by source ip to different
WAN, 192.168.1.12 to WAN1 and 192.168.1.13 to WAN2
On the centos box are set all the route and routing rul...
2016 Aug 08
0
Gateway question
...uot;
After that, restart network services.
# systemctl restart network
--Regards
Ashishkumar S. Yadav
On Mon, Aug 8, 2016 at 4:35 PM, Levente Birta <blevi.linux at gmail.com> wrote:
> Hi
>
> There is a Centos 7 up-to-date box with 2 interfaces, let's say
> 192.168.1.12 - enp2s0, 192.168.1.13 on enp3s0. Default gateway on enp2s0.
>
> The gateway is pfsense, IP is 192.168.1.1 with 2 WAN connections
>
> On the gateway the outgoing traffic is routed by source ip to different
> WAN, 192.168.1.12 to WAN1 and 192.168.1.13 to WAN2
>
> On the centos box are se...
2016 Aug 10
1
Gateway question
...accessing this multi-homed
> host from the internet...
> I have all this configured and working!
You say this is working because of the output here?
# ip route show default via 192.168.1.1 dev enp3s0
default via 192.168.1.1 dev enp2s0
169.254.0.0/16 dev enp2s0 scope link metric 1002
169.254.0.0/16 dev enp3s0 scope link metric 1003
192.168.1.0/24 dev enp2s0 proto kernel scope link src 192.168.1.12
192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.13
--
Jonathan Billings <billings at negate.org>
2014 Feb 05
1
ldb segment fault. Problem on joining as a DC member.
...ce4/dsdb/repl/drepl_ridalloc.c:239: Requesting more RIDs from RID
Manager
dreplsrv_out_connection_attach(87e240b2-95f9-4cae-9dc6-c8412397eddf._
msdcs.kl01.amtb-m.org.my): attach
dreplsrv_periodic_schedule(300) scheduled for: Wed Feb 5 22:19:21 2014 MYT
Mapped to DCERPC endpoint 135
added interface enp2s0 ip=192.168.11.24 bcast=192.168.11.255
netmask=255.255.255.0
added interface enp2s2 ip=192.168.11.25 bcast=192.168.11.255
netmask=255.255.255.0
added interface enp2s3 ip=192.168.11.26 bcast=192.168.11.255
netmask=255.255.255.0
added interface enp2s4 ip=192.168.11.27 bcast=192.168.11.255
netmask=255....
2017 Sep 12
2
File server questions
On Tue, 12 Sep 2017 10:40:50 -0300
Flávio Silveira via samba <samba at lists.samba.org> wrote:
> Thanks for the replies Rowland and Louis!
>
> Giving all that was said here is a snippet of what I have in
> /var/lib/dhcp/dhclient.enp2s0.leases
>
> Don't know why my interface is named enp2s0, but I only have one,
> this might be a driver thing.
No, it is a systemd thing.
>
> lease {
> interface "enp2s0";
> fixed-address 192.168.11.6;
> option subnet-mask 255.255.255.0;
> opti...
2017 Jan 16
2
NetworkManager vs. Firewalld vs. /etc/sysconfig/network-scripts/ifcfg-*****
...simple
firewall/router box with 2 nics.
I got myself into a circular scenario where NetworkManager and
firewalld and /etc/sysconfig/network-scrpts/ifcfg-***** were
interfering or overwriting each other.
Needed to perform ifdown enp3s7 on the internal LAN nic in order to
make the external internet enp2s0 reach websites and ping nameservers.
After completing firewall-cmd --complete-reload the internal LAN nic
would still provide private ip addresses via dhcpd server but LAN
clients could not access the internet.
So far these steps work to enable both nics to provide router and
firewall services:...
2016 Aug 09
4
Gateway question
On 09/08/2016 20:01, Gordon Messmer wrote:
> On 08/08/2016 04:05 AM, Levente Birta wrote:
>> Can I add this in any config files (ex: route-enp2s0)?
>
>
> Yes. Add a route file for each interface, and set up rules to send
> packets out the corresponding physical interface:
>
> https://blogs.oracle.com/networking/entry/advance_routing_for_multi_homed
>
Yes, but no :)
I do all this and working on LAN ... all traffic go...
2020 Feb 18
3
From network-scripts to NetworkManager on a router : questions
...e router in my office is a PC Engines routerboard running CentOS 7. It
has three NICs, and I use two of these.
WAN-facing NIC :
# /etc/sysconfig/network-scripts/ifcfg-enp1s0
DEVICE=enp1s0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
LAN-facing NIC :
DEVICE=enp2s0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.2.1
NETMASK=255.255.255.0
Third NIC is disabled :
# /etc/sysconfig/network-scripts/ifcfg-enp3s0
DEVICE=enp3s0
TYPE=Ethernet
ONBOOT=no
Gateway information :
# /etc/sysconfig/network
GATEWAY=192.168.1.254
The router is running Dnsmasq :
#...
2017 Sep 12
3
File server questions
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Rowland Penny via samba
> Verzonden: maandag 11 september 2017 18:50
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] File server questions
>
> On Mon, 11 Sep 2017 13:08:16 -0300
> Flávio Silveira via samba <samba at lists.samba.org> wrote:
>
> >
2016 Nov 21
2
db check fails
...e_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface enp2s0 ip=192.168.16.49 bcast=192.168.16.255
netmask=255.255.255.0
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface enp2s0 ip=192.168.16.49 bcast=192.168.16.255
netmask=255.255.255.0
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interf...
2016 Aug 09
2
Gateway question
...int of view doesn't matter, the
routing to different WAN is a job of gateway's.
And as I said in the initial message I achieved this ... :)
The question is how can I achieve this with more elegant way, because
the "route" command is deprecated anyway.
So, again:
Centos 7
2 NICs
enp2s0-192.168.1.12
enp3s0-192.168.1.13
default gateway on enp2s0 is 192.168.1.1, defined in /etc/sysconfig/network
Which other way (preferred with "ip route") can I add this, but:
#route add default gw 192.168.1.1 dev enp3s0
????
Thanks
Levi
2020 May 22
0
Fwd: DHCP Updates to DNS - Multiple Entries with Same IP
...oad balancing. Even if both
servers respond with *Offers* to the client, the client will select one and
issue *one Request* to the selected server.
E.g., below is a log records from my failover DHCP (192.168.0.2) server:
May 17 00:09:37 s-dhcpd-2 dhcpd[1578]: DHCPDISCOVER from 80:77:30:a3:d3:e2
via enp2s0
May 17 00:09:38 s-dhcpd-2 dhcpd[1578]: DHCPOFFER on 192.168.0.173 to
80:77:30:a3:d3:e2 (d-host-2) via enp2s0
May 17 00:09:38 s-dhcpd-2 dhcpd[1578]: DHCPREQUEST for 192.168.0.173
(192.168.0.2) from 80:77:30:a3:d3:e2 (d-host-2) via enp2s0
May 17 00:09:38 s-dhcpd-2 dhcpd[1578]: DHCPACK on 192.168.0.17...
2017 Sep 12
0
File server questions
...samba escreveu:
> On Tue, 12 Sep 2017 10:40:50 -0300
> Flávio Silveira via samba <samba at lists.samba.org> wrote:
>
>
>> Thanks for the replies Rowland and Louis!
>>
>> Giving all that was said here is a snippet of what I have in
>> /var/lib/dhcp/dhclient.enp2s0.leases
>>
>> Don't know why my interface is named enp2s0, but I only have one,
>> this might be a driver thing.
> No, it is a systemd thing.
>
>> lease {
>> interface "enp2s0";
>> fixed-address 192.168.11.6;
>> option subnet-...
2020 Jun 16
2
firewall help request (solved)
...dalert/a1687ae4da1cc44a437d>
Ah ... Caught it. So here is the IPTABLES method to block output on
port 22 from internal machines on a gateway:
iptables -I FORWARD -p tcp --dport 22 -i
{name-of-internal-interface} -j DROP
So, for example, if your internal interface is, for example,
/dev/enp2s0, you'd write
iptables -I FORWARD -p tcp --dport 22 -i enp2s0 -j DROP
If you want to log such attempts, preceed it with a log
request. Since I'm using the -I command (insert at top), it means
the log request is entered second:
iptables -I FORWARD -p tcp --dport 22 -i
{name-of-in...
2020 May 21
2
Fwd: DHCP Updates to DNS - Multiple Entries with Same IP
On 21/05/2020 21:04, Matt Savin wrote:
> I think you can continue to use '128' (good for load balancing,
> otherwise 255 is fine). I had the same issue, following dhcpd.conf
> entries fixed it (the last entry is important):
>
> one-lease-per-client? true;
> deny ? ? ? ? ? ? ? ? ? ? ? ?? duplicates;
> ignore-client-uids ? ?? true;
>
> And it's not a bug,
2019 Feb 14
5
Centos 7.6 & ether-wake
Everyone,
I have not been able to get ether-wake to work waking up other centos 7.6 machines after
the upgrade to Centos 7.6. Has anyone else had this problem, and if so any luck with a
fix?
Greg Ennis
2020 Jun 06
2
How to disable dhcpv6-client on Centos 8
Machine is an internal server with zero need to provide or receive ip addresses using dhcp (all
IPs are hard coded).
Question: how do I disable dhcpv6-client on this box?
[user at boxname user]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: enp2s0
sources:
services: cockpit dhcpv6-client http https ssh
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
Thanks,
Jay
2016 Nov 21
0
db check fails
...GENSEC backend 'http_basic' registered
> GENSEC backend 'http_ntlm' registered
> GENSEC backend 'krb5' registered
> GENSEC backend 'fake_gssapi_krb5' registered
> added interface lo ip=127.0.0.1 bcast=127.255.255.255
> netmask=255.0.0.0 added interface enp2s0 ip=192.168.16.49
> bcast=192.168.16.255 netmask=255.255.255.0
> added interface lo ip=127.0.0.1 bcast=127.255.255.255
> netmask=255.0.0.0 added interface enp2s0 ip=192.168.16.49
> bcast=192.168.16.255 netmask=255.255.255.0
> added interface lo ip=127.0.0.1 bcast=127.255.255.255
>...
2017 Apr 08
2
Network configuration: desktop vs. laptop
...sktop or workstation, I usually get rid of NetworkManager:
# systemctl stop NetworkManager
# yum remove NetworkManager
Then I edit the /etc/sysconfig/network-scripts/ifcfg-XXXXX file
corresponding to my network interface. Here's a working example:
# /etc/sysconfig/network-scripts/ifcfg-enp2s0
DEVICE=enp2s0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=dhcp
Now I wonder how I should configure things on a laptop, where I usually
keep NetworkManager. On a Slackware system, it's usually just a matter
of leaving a pristine /etc/rc.d/rc.inet1.conf file, and then activate
/etc/rc.d/rc.networ...
2016 Nov 19
5
db check fails
On Sat, 19 Nov 2016 08:14:58 -0600
Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote:
> On 2016-11-19 07:54, Rowland Penny via samba wrote:
>
> > On Sat, 19 Nov 2016 07:03:22 -0600
> > Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote:
> >
> > On 2016-11-18 13:19, Bob of Donelson Trophy via samba wrote:
> >
>