Questions tagged [cisco]

73 questions
14
votes
4 answers

route add no longer works when I connected to VPN via cisco anyconnect client

When I connected to a VPN server via Cisco AnyConnect client, my virtualbox routing information is gone. # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default * …
daisy
  • 53,527
  • 78
  • 236
  • 383
13
votes
5 answers

How can I use openconnect in the background

I am going to connect to a VPN using openconnect on CEntOS 7 terminal. I only have one terminal because I am on a SSH session. I need to connect to the VPN using openconnect. I do so like this: openconnect -u username us.myprovider.net I need…
Mehdi Haghgoo
  • 543
  • 3
  • 8
  • 22
12
votes
2 answers

Cisco-like command Line Interface

I'm looking for a way to implement a fairly basic Cisco like command line interface on my Ubuntu server appliance (12.04 in particular). I've come across the following project: CLISH however, documentation is sketch and it seems to be quite stale. …
sbeskur
  • 271
  • 3
  • 9
7
votes
2 answers

What is resolv.conf and why VPN client's hack it?

As stated in a previous question I want to connect to 2 VPN servers at the same time and for each connection specify the IPs of computers I want to reach with it. One of this VPN connection is done with vpnc and a default.conf file, and the other…
Manuel Selva
  • 3,454
  • 7
  • 20
  • 17
6
votes
1 answer

Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?

Site: http://www.oucs.ox.ac.uk/network/vpn/linux-solaris/index.xml?ID=VPNC What is open VPNC: VPNC is an open-source VPN client for Linux and other Unix systems which is compatible with the OUCS VPN Service and which offers some advantages over the…
user58412
5
votes
1 answer

How to stop openconnect from changing DNS settings

Since my college is using this horrible Cisco AnyConnect VPN, I am trying to find my way around their client software and discovered openconnect. So far it works great and thanks to a different question here on StackExchange, I managed to make it…
comfreak
  • 151
  • 1
  • 5
4
votes
3 answers

Change routes for VPN

I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network. How does a script look like, that sends all traffic to 10.10.3.1 or…
Dominik
  • 161
  • 5
4
votes
2 answers

Is it possible to run two VPN clients at the same time?

I would like to run two VPN clients at the same time: one Cisco client and one VPNC client. For now I have my VPNC client configured to route only some known IPs to the VNC interface and would like to add the same thing for the Cisco client at the…
Manuel Selva
  • 3,454
  • 7
  • 20
  • 17
4
votes
2 answers

From 192.168.0.146 icmp_seq=1 Destination Host Unreachable

root@prateek-desktop:~# ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. From 192.168.0.146 icmp_seq=1 Destination Host Unreachable From 192.168.0.146 icmp_seq=2 Destination Host Unreachable From 192.168.0.146 icmp_seq=3…
prateek manocha
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

Linux interface RX Packet Dropped with LACP and not doing loadbalacing

OS: CentOS 6.6 / 64bit / Kernel 2.6.32-504.30.3.el6.x86_64 I have bond0 interface with following configuration. Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009) Bonding Mode: IEEE 802.3ad Dynamic link aggregation Transmit Hash Policy:…
Satish
  • 1,632
  • 3
  • 34
  • 60
3
votes
1 answer

Using screen to connect to Cisco console

I am trying to configure a Cisco (small business 300) via serial port. I read here: http://www.commandlinefu.com/commands/view/6130/use-screen-as-a-terminal-emulator-to-connect-to-serial-consoles That I can use screen to connect to the switch, but…
Mathias Nielsen
  • 181
  • 1
  • 1
  • 7
3
votes
1 answer

Route all traffic through openconnect

I'm trying to connect to a business VPN (Cisco AnyConnect). I'm utilizing openconnect and a connection has been established. That connection is also seen by the ip add command. The default route according to ip route seems to be wlp5s0. How would I…
Gjert
  • 131
  • 1
  • 3
3
votes
1 answer

Screen keeps terminating when trying to console in to routers

I am having trouble with screen. It keeps terminating every time I try to console into my routers. eric@pop-os:~$ screen /dev/ttyUSB0 [screen is terminating] eric@pop-os:~$ screen /dev/ttyUSB0 [screen is terminating] It only works as root or…
Eric
  • 35
  • 1
  • 7
2
votes
2 answers

how to get Cisco IOS public key for automatic scp connection

I want to backup the running-config of all switches per SCP to a server. Question 1: is this possible with kron? Is there a better way and why? Question 2: how can I get the public key of the switch to auto-authentificate the user to the…
Ueli
  • 121
  • 2
2
votes
1 answer

ansible telnet isn't working

I am trying to use the telnet command with ansible expect module to push initial configuration but it's not working, I am suspecting the issue is with the responses section, here is my playbook: - hosts: wired gather_facts: false connection:…
1
2 3 4 5