Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Linux Networking

17K

Solutions

14K

Contributors

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

I am debating as to should I use nginx or squid as a proxy for my centOS or if there is a other compatible proxy server.
0
Supports up to 4K resolution!
Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

I had this question after viewing Solaris LDAP Client failure.

Team - I am experiencing the same issue - But I dont know how to allow anonymous access to directory server as per the solution from user jw124210.

Please HELP!!!!
0
Hi I have a server that has Centos7 that does not have an GUI Interface installed. By accident for some reason it looks as though during the install I did not set the IP Address details of Nic1and these should be static. I am trying to set it so that the IP address details of Nic 1 is 10.10.230.12. subnet mask is 255.255.255.0, gw is 10.10.230.6 and the dns I was going to just set as 8.8.8.8 (Google DNS Servers)
Can you help on the commands to run to set this please. The server has 2 nics but only nic1 is plugged in.  if I run the command ip a this is what I get (please see attached file). I assume the nic is that called enp2s0f0
Centos7.jpg
0
Can i able to add RHEL6 and RHEL7 repos to spacewalk?

I have account on redhat where i can download all the rhel6/7 packages.  not sure how to add to spacewalk so i can utilize spacewalk to do lot of operations.
0
I am installing spacewalk on RHEL7.

I was following this article.

https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall

I am getting the following error when i execute,
yum -y install spacewalk-postgresql


Error: Package: jboss-jstl-1.2-api-1.0.3-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec)
Error: Package: jboss-jstl-1.2-api-1.0.3-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.el:jboss-el-api_2.2_spec)
Error: Package: jpam-0.4-28.el7.x86_64 (spacewalk)
           Requires: apache-commons-beanutils
Error: Package: jboss-jsp-2.2-api-1.0.1-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec)
Error: Package: spacewalk-jpp-workaround-2.3.5-1.el7.noarch (spacewalk)
           Requires: apache-commons-validator
Error: Package: struts-1.3.10-14.1.el7.noarch (epel)
           Requires: mvn(commons-validator:commons-validator)
Error: Package: apache-commons-chain-1.2-12.1.el7.noarch (epel)
           Requires: mvn(commons-digester:commons-digester)
Error: Package: python-cheetah-2.4.4-4.el7.x86_64 (epel)
           Requires: python-pygments
Error: Package: spacewalk-jpp-workaround-2.3.5-1.el7.noarch (spacewalk)
           Requires: apache-commons-digester
Error: Package: jboss-jsp-2.2-api-1.0.1-15.1.el7.noarch (epel)
           Requires: mvn(org.jboss.spec.javax.el:jboss-el-api_2.2_spec)
Error: Package: …
0
Hi,
how to transfer
site booksmarks to shared bookmarks in winscp

please advise
0
Hello ,

I have a problem with interfaces on a multihomed topology. My interfaces can not ping each other and can not ping theirselves too
sysctl as given below.

But it is able to ping the interface ip when i directly write ping 37.123.98.142 , if the both interface are not able to ping this interface's ip how does it ping it or from where ?

I have to let them have access each other how shoud i do it ?

Note: loopback interface activated
Note2: em interfaces are all down

[root@spd network-scripts]# sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.p1p1.rp_filter = 2
net.ipv4.conf.p1p2.rp_filter = 2
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.lo.rp_filter = 2
net.ipv4.conf.p1p1.accept_local = 1
net.ipv4.conf.p1p2.accept_local = 1
net.ipv4.conf.all.accept_local = 1
net.ipv4.conf.default.accept_local = 1
net.ipv4.conf.lo.accept_local = 1
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.p1p2.arp_filter = 0
net.ipv4.conf.p1p1.arp_filter = 0
net.ipv4.conf.lo.arp_announce = 2
net.ipv4.conf.all.arp_announce = 2
net.ipv4.conf.default.arp_announce = 2
net.ipv4.conf.p1p1.arp_announce = 2
net.ipv4.conf.p1p2.arp_announce = 2

Open in new window


PING 37.123.98.142 (37.123.98.142) from 37.123.98.142 p1p1: 56(84) bytes of data.

^C
--- 37.123.98.142 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2055ms

[root@spd network-scripts]# ping -I p1p1 37.123.98.138
PING 37.123.98.138 (37.123.98.138) from 37.123.98.142 p1p1: 56(84) bytes of data.

^C
--- 37.123.98.138 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3064ms

[root@spd network-scripts]# ping -I p1p2 37.123.98.138
PING 37.123.98.138 (37.123.98.138) from 37.123.98.138 p1p2: 56(84) bytes of data.

^C
--- 37.123.98.138 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1038ms

[root@spd network-scripts]# ping -I p1p2 37.123.98.142
PING 37.123.98.142 (37.123.98.142) from 37.123.98.138 p1p2: 56(84) bytes of data.

^C
--- 37.123.98.142 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2060ms

Open in new window


[root@spd network-scripts]# ping 37.123.98.142
PING 37.123.98.142 (37.123.98.142) 56(84) bytes of data.
64 bytes from 37.123.98.142: icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from 37.123.98.142: icmp_seq=2 ttl=64 time=0.022 ms
64 bytes from 37.123.98.142: icmp_seq=3 ttl=64 time=0.017 ms
64 bytes from 37.123.98.142: icmp_seq=4 ttl=64 time=0.015 ms

Open in new window




Open in new window

0
Hello ,

Is there any possible way to drop bogus packets as seem below .

for this packets ; packet payload is smaller then the length of the packet

 Screen-Shot-2017-08-23-at-22.22.46.png
0
Hi,

I have user called xyz under that folder there is folder call test under that there is folder called abc, def, hij etc

i want to search to search in all above folders and subfolders for a particular keyword say " nullpointerexception " how t do that .
please advise
0
Hi,

winscp how to compare 2 different unix users say xyz and abc by opening xyz on left hands side and abc on right hand side. As of now on the left hands side i was able to open my windows laptop folder structure like C drive etc and on right hands side i am able to open one unix user like abc or xyz etc. please advise
0
Building an interactive eFuture classroom
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

hi

on the unix box various users like xyz, abc etc.

Looks like disk space is running out of server and i need to cleanup.

How to know how much user xyz occupying size and how much abc user is occupying size. please advise
0
Hi,
I looged in as xyz user and trying to delete a file in the server domian directory which was created by user say John. how to psuedo to john and delete that file.

what is unix psuedo commandd and how it wrks in unix world. please advise
0
can anybody tell us which is the best free tool / how to configure transparent squid with AD authentication on Linux
0
hi,

How to expand putty to full screen?

also i hae 20 server instances configured  named connection1, connection2 etc till connection20


when i connect it should say connection1 at the top than meaningless ip address etc at the top  of putty window. can i configure somewhere to do that?

also how to change text and background colors. please advise
0
what is difference between below commands


$ cd xyz

it says no such file or directory

even
$ cd /xyz
says no such file or directory

where as when i say

$ cd /xyz/
it goes to xyz directory though

what is use or importance of /  and / at the beginning and end?

please advise
0
# systemctl start dhcpd
Job for dhcpd.service failed because the control process exited with error code. Se e "systemctl status dhcpd.service" and "journalctl -xe" for details.
0
Hi,
In my server i have two nics, eth0 that's a dedicated interface and eth1 that's has configured as trunk on my vmware.
In eth1 I need to create multiple vlan's, i was able to do it but I cant redirect the traffics between each vlan.
Eg:
eth1.96
ip: 192.168.3.2/24
The gateway of this vlan is 192.168.3.1
When I do ping -I 192.168.3.2 192.168.3.1 return unreachable network, seams that miss some rute.
Best regards
0
I have a Asus RT-N18U router. (but can buy another one), with DD-WRT firmware DD-WRT v3.0-r32170 std (06/01/17)
I want:
Hotspot for Restaurants that:
-People connect (no password) to WIFI
-they get a webpage (can be on router or in internet)
-webpage ask for emailadress
-once introduced emailadress and send it (to a server in internet with its MAC address) they get granted lets say 2 hours of internet
-after 2 hours they have to come back to the login page again (or better they get blocked for 10 hours with error webpage and after to login page again)
-no other service (not free and not payed) should be used

-the router mentioned offers dd-wrt with onboard radiusserver (I tried it and works), chillispot or nocatsplash (both I didn't get to work)
The router should be configured (WAN) as DHCP automatic conection and he should use his own network with his own DHCP server (so it is easy to connect him to an existing network)

I need somebody who configures the router and tell me how the configuration works. (where are modifyable files)
0
I have one 12U1 SLES machine in which i want to open an port no 31015 for SAP HANA but unable to.

Netstat -tulpn also not showing LISTEN to this port .

I have also tried it with Yast2 firewall advance option but dont same problem

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2475/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2169/master
tcp        0      0 0.0.0.0:51013           0.0.0.0:*               LISTEN      2341/sapstartsrv
tcp        0      0 0.0.0.0:51014           0.0.0.0:*               LISTEN      2341/sapstartsrv
tcp        0      0 0.0.0.0:1128            0.0.0.0:*               LISTEN      2295/sapstartsrv
tcp        0      0 0.0.0.0:1129            0.0.0.0:*               LISTEN      2295/sapstartsrv
tcp        0      0 :::22                   :::*                    LISTEN      2475/sshd
tcp        0      0 ::1:25                  :::*                    LISTEN      2169/master
udp     5376      0 0.0.0.0:68              0.0.0.0:*                           1308/wickedd-dhcp4


telnet IP 31015
gives keep trying then unable to reach

telnet working for other ports like ssh and 1128 etc.

please help
0
Free Tool: Site Down Detector
LVL 10
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I need to connect a Virtual Machine hosted somewhere running CentOS 6 to a client which is allowing connection through VPN only. However I have almost no knowledge about VPNs. The client has given me following info for connection:

VPN Remote Endpoint: <IP Address given by the client>
VPN Hardware: NGX R75.45 (SPLAT)

IKE (Phase 1)
==================
Authentication Method: Pre shared key (TBA)
DIffie-Hellman group: DH-2
Encryption Algorithm: AES-128
Hashing Algorithm: SHA-1
Renegotiate IKE: 14400 seconds

IPSEC (phase 2)
======================
Encryption Algorithm: AES-128
Hashing Algorithm: SHA-1
Renegotiate IKE: 3600 seconds
PFS Enabled: Yes

I am not sure where to put all these info in CentOS to make it to connect to the client's network.

I will be much thankful for any help.
0
Hi everyone, I would like to have outputs of tcpdump in standard structure. Like below:

05:49:56.604899 00:00:00:00:00:02 > 00:00:00:00:00:03, ethertype IPv4 (0x0800), length 10202: 10.0.0.2.54880 > 10.0.0.3.5001: Flags [.], seq 3641977583:3641987719, ack 129899328, win 58, options [nop,nop,TS val 432623 ecr 432619], length 10136
05:49:56.604908 00:00:00:00:00:03 > 00:00:00:00:00:02, ethertype IPv4 (0x0800), length 66: 10.0.0.3.5001 > 10.0.0.2.54880: Flags [.], ack 10136, win 153, options [nop,nop,TS val 432623 ecr 432623], length 0
05:49:56.604900 00:00:00:00:00:02 > 00:00:00:00:00:03, ethertype IPv4 (0x0800), length 4410: 10.0.0.2.54880 > 10.0.0.3.5001: Flags [P.], seq 10136:14480, ack 1, win 58, options [nop,nop,TS val 432623 ecr 432619], length 4344

Open in new window


However it is important for me that all these structured information saved in 10 files with size of 10 MB. I know that I have to use this command:

tcpdump -i h1-eth0 -w /tmp/trace.txt -W 10 -C 10 -K -n

Open in new window


However the problem is that, the out put is not in standard way. Can you please help me to find a single command that gives me the standard out put of the tcpdump in 10 files with size of 10 MB?
0
Unable to copy or move files in a linux folder into a mounted mapped network drive.  Getting error file or directory does not exist but yet it does and can display files in the shared folder.
0
My Samba shares recently went missing. After some quick troubleshooting I found that its lost connectivity with the AD servers. The result of a 'net ads info' No login servers.   Since this has been working for sometime now I looked for recent changes. The only significant change is the my 2008 R2 domain controllers installed Service Pack 1.  I saw an error stating that "my-server-name" failed to authenticate. Access is denied.

I removed the samba server from AD and then added it back in. i restarted samba services tried again to no avail. I then removed the client completely and reinstalled but the same error occurred.  I feel like this is AD related but can't discern a path to troubleshoot.
0
We have been attempting for days now to join a Linux client to the Microsoft Active Directory domain.

The process we are using is located at:
https://wiki.archlinux.org/index.php/Active_Directory_Integration#Active_Directory_Configuration

When we get to the Join the Domain - using the command
net ads join -U Administrator

Open in new window



We receive an error:
Failed to join domain: failed to lookup DC info for domain 'DOMAIN NAME' over rpc: Undetermined error

Open in new window


Any help and more information about our configuration is available upon request.

Thanks,
Jim
0
We have CentOS 7 server and Samba share/domain installed. The client machines are able to access the shared file from the server and I am able to join the clients to domain. But when I login to domain I get the "Logon service not available" error. Someone please help?
0

Linux Networking

17K

Solutions

14K

Contributors

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.