Expiring Today—Celebrate 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

Hi friends!
I am newbie about to vlan. I have a CentOS with an IP 192.168.1.10 on eth0. Our Network Administrator has added switches and devices with VLAN 10.

I need to keep my IP on eth0 (untagged) and allow these devices on VLAN 10 to talk to my server. If I create eth0.10 with the IP configuration... Can I use the same IP of eth0? WIll Linux allow the same IP on two interfaces?

Thanks
Denilson
0
[Webinar] Lessons on Recovering from Petya
LVL 10
[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Hello ,

We have suprised on one test. We realize that when an ip address directly sends 1million pps to a server. That server normally working with irq perfectly , it hits to only one core of the server.
Why that happens and how this issue should be over comed.
0
Hello ,


any body know what is the meaning of this numbers in iptables config file :

*raw
:PREROUTING ACCEPT [1318098:74794423]
:OUTPUT ACCEPT [2065:1143634]

Open in new window

0
Hello ,

When we add this rules for forwarded traffic it is dropping all packets as they are invalid. There is no notrack rule on the server, why does it see the forwarded traffic as it is invalid ?


#-A FORWARD -p tcp -m conntrack --ctstate INVALID -j DROP
#-A FORWARD -p tcp ! --syn -m conntrack --ctstate NEW -j DROP

Open in new window

0
Hello ,

We are facing with some kind of an attack as given below  also i have attached the pcap file ,

important thing is that  ;
  1. IP addresses spoofed with our country's ISP ip addresses
  2. TTL has been spoofed also and the TTL values are in the range of the ip address owners - you should find and edit the same ddos on github with name VSE
  3. Data is a copy of real packet used on this protocol for counter strike
  4. Destination port is also counter's port
  5. checksums are correctly generated

how should i block this kind of attack without blocking the real users ?



Protokol :17  Source IP :85.104.15.177  Source Port :58061  Destination IP :213.238.166.2  Destination Port :27015  TTL :108  Paket Boyutu :51  Checksum :9777  Data :FFFFFFFF71636F6E6E6563743078304135423333304500  
Protokol :17  Source IP :95.13.27.190  Source Port :55271  Destination IP :213.238.166.2  Destination Port :27015  TTL :111  Paket Boyutu :51  Checksum :64648  Data :FFFFFFFF71636F6E6E6563743078303044414236313000  
Protokol :17  Source IP :88.238.142.125  Source Port :55150  Destination IP :213.238.166.2  Destination Port :27015  TTL :105  Paket Boyutu :51  Checksum :37970  Data :FFFFFFFF71636F6E6E6563743078304138383935423800  
Protokol :17  Source IP :85.103.139.224  Source Port :52054  Destination IP :213.238.166.2  Destination Port :27015  TTL :108  Paket Boyutu :51  Checksum :49529  Data 

Open in new window

0
please replay answer ASAP
0
Have multiple VMworkstation VM's one of which I need to connect an Android device to. Need to setup  DNS with pfSense or mint to control .local request. Need to be able to hit my.test.local which is one of my servers on my network 10.8.x.x. Everything reading is telling me how to make them see www.xxx.com. Need to stay local and resolve this address.
0
In Windows there is a checkbox "Register this connection's addresses in DNS".  See attached screenshot.
What is the equivalent in
- Ubuntu Workstation
- Raspian (Raspberry Pi Debian variant)

Thank you
0
I want to search on below error
java.io.FileNotFoundException:

I want to search on all the weblogic domian directory files and its sub directory files and sub sub directory files?
how to search all the way to great great grad child level?

please advise
0
I have a vanguard calamp cellular modem with serivce from verizon and a static WAN address. Attached to it is a controller board running Busy Box v1.22.1.  I am having issues configuring port forwarding of the modem to connect to the busy box device over ssh so i can run diagnostics. does anyone have any experience with something like this?
0
Command Line Tips and Tricks
Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

OS : Linux

Let us suppose - we have 2 directories,
path1 : /prod/dir01/dir02       path2: /dev/dir01/dir01

If I refer  path1,  that should automatically should take it to path2.
Can it is possible to make it work in Linux ?

please advise.
0
i am in particular folder say abc.

I did ls -ltr where there are bunch of files.

i want to search all the files starting with file name xyz alone ignoring other starting with pqr etc(ignore pqr000.log.20170806.gz etc).
My search should result like

xyz123.log.20170806.gz
xyz456.log.20170806.gz
xyz789.log.20170806.gz etc



What is the command i have to use for that.

is it grep or find or something else.

when i gave grep xyz.* it did not gave any result.

how searching inside a file content is different from search outside on unix file names.

any good link on these commands? please advise
0
when i cannot stop weblogic server my friend gave below commands



ps -ef | grep ggg3rrr

what above command gives as result?
kill -9 43856
what is -9 and what is 43856 in above kill command.

please advise
0
thanks !
0
Hello!
      

Ubuntu 14.04 Desktop I usually connect to Internet via PPPoE over Wi-Fi signal from my router. The router gets the Internet from Ethernet cable which comes from my ISP into my apartment. So it's not a regular Wi-Fi Internet, WLAN just connects my computer to WIRED PPPoE I get from the ISP. Sometimes what happens is that Internet stops working and wireless signal in Ubuntu keeps disconnecting and then reconnecting by itself. And pppoeconf command can't finf PPPoE over wlan0. Then I have to connect the cable directly to my computer's RJ-45 and re-do pppoeconf and then it finds PPPoE over eth0 and then I get Internet. The problem is that for some strange reason, it works better when I use the former option, i.e. connect the cable to the router and use the wireless signal to connect to the PC. I just don't know how to fix this issue with my Wi-Fi.
0
Hello, I'm curious, hence I ask you; Is there such a "recent college engineer", either software or hardware, or one that studied both, who would meet all of these requirements:
embedded Linux based data telecommunications system/ VoIP/SIP
satellite network application and
embedded software/ Firmware/embedded systems
automation scripting
Python
Java
Linux operating system/Linux Network expertise
Unix shell scripting
WEB GUI test automation
DO-178B experience
Satellite communication experience
Telecommunication experience/PBX switching systems

Any comments?
Do companies expect to find an "expert" engineer with all this knowledge?
thanks
0
Hi experts

Require script to capture all root logins, through su - or direct login with root.


OS - CentOS 7
0
Hi,

In putty vi editor vi unix how to see later pages and change colors for bettwer view.

i open big property file not able to see what is at bottom.

how to search in vi editor for some text sat xyz.

setting i went i changed colors , font etc not reflecting.

what is best setting to give for better view

when i opened
abc.properties in vi
it says 536L, 28390C
what is L what is C
how to know how many lines there how many it is showing etc
can i use winscp free version for production servers viewing property files?
please advise
0
Hi,

I am fed up with putty with basic options.

Any better tools or IDEs to check logs or to grep unix/linux boxes.

Where  i can download secure ftp and how much is fees?
any advanced putty IDE there
any good free IDE accepted by industry.

please advise
0
Major Serverless Shift
Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Dear Experts,

How to copy or transfer a file from one Linux server to multiple Linux server in same network from a single cmd or script ? It should be a single line cmd for copy my file to multipal servers, don't want to use separate line for every server.

for example:
scp report_zonal 192.168.7.111 192.168.7.112 192.168.7.113 192.168.7.114:/home/Zonal/Desktop

i dont know it is possible or any other way to make it possible, please suggest

Currently i am using this method, it is working also, but i don't want to use this process.

[root@200 ftp]# cat FileTransfer.sh
#!/bin/bash
# transfer file to server
cd /root/
#DC Zonal
scp report_zonal 192.168.7.111:/home/Zonal/Desktop
scp report_zonal 192.168.7.112:/home/Zonal/Desktop
scp report_zonal 192.168.7.113:/home/Zonal/Desktop
scp report_zonal 192.168.7.114:/home/Zonal/Desktop
0
what the heck is delta rpm and why use it , cant I just update or upgrade with yum update or something like that ?

thanks
0
Hi All!!

Is it possible to isolate a small linux box computer from the rest of my home network but still have internet capabilities. My home network connects to a single router which has various devices connected to it, such as Windows machines and other devices (not many but some).

The ideas is, if the linux PC or other devices are compromised, it will not affect the others. I would also like to to port-forward the linux box for remote use. So by isolating it from the network i can minimise the risks if any.

I understand that the likelihood of Linux devices infecting Windows (or vice versa) is rare but I'd still like to achieve this.

After doing research, i have come up with the below...

  • Installing/Configuring A/V on the Linux Terminal
  • Using IPtables to restrict other devices accessing. - Complete newbie to this but would appreciate some guidance.
  • Different IP Subnets.

I would very much appreciate it if someone would be able to assist me in understanding and designing a solution.

Thank you!!
0
Hi expert

How to upload SSL to openLdap server?
0
hi trying to install jboss on AWS ubunutu and access console from external/Internet

Followed so far
1. Installed Jboss on ubuntu followed these page (https://www.digitalocean.com/community/tutorials/how-to-install-jboss-on-ubuntu-12-10-64bit)
2. Followed this step to allow connections from external (http://technicles.com/how-to-make-your-jboss-or-wildfly-as-remotely-accessible/)
3. started with -b
./standalone.sh -b 0.0.0.0
./standalone.sh -b <AWS Elastic IP>

when I tried to connect I get below error on the browser
This site can’t be reached.<AWS Elastic IP> refused to connect.


after I enabled TRACE. I get more info but couldn't figure out what is wrong. Please help
Pls check the attached trace.log file

thanks in advance
trace.log
0
Dear Experts,

We have automout enabled for our /home directory, Whenever a user login to the servers automout triggers NFS mount to use to mount  home directory[/auto/home/<username>] in the servers.  The NFS servers hosted on Netapp storage device.

Below is the logs from messages file:
automount[25639]: mount(nfs): nfs: mount failure 10.x.x.x:/vol/m1_ldap_home/localhome/sivakumar on /auto/home/sivakumar
Jun  8 09:20:30 xxxxxxxxx automount[847]: attempting to mount entry /auto/home/sivakumar
Jun  8 09:20:51 xxxxxxxxx automount[25644]: >> mount: RPC: Timed out.

My Observation:

The NFS client servers which NOT in the same network where NFS Server is , having above problems.

I need to know , what angle i need to troubleshoot this issue, how to resolve and what is solution?

Thanks in advance.

Sk..
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.